Sync

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Sync as PDF for free.

More details

  • Words: 59
  • Pages: 1
#!/bin/bash inicio=`date +%d/%m/%y-%h:%m:%s` log=/var/log/sync/`date +%y-%m-%d`_sync-gaveta.txt echo echo echo echo

" " >> $log " " >> $log "|-----------------------------------------------" " sincronizacao iniciada em $inicio" >> $log

>> $log

sudo rsync -cravzp --delete-excluded /home/publica/ /sync/ >> $log final=`date +%d/%m/%y-%h%:m:%s` echo echo echo echo

" sincronizacao finalizada em $final" >> $log "|-----------------------------------------------" " " >> $log " " >> $log

>> $log

Related Documents

Sync
November 2019 15
Sync Info
October 2019 17
Sync Overview
May 2020 14
Active Sync
May 2020 16
Process Sync
November 2019 12
Sync Motors
June 2020 4