DEFINITIONS
Definitions More Info.
Definition ID
769
Title
LINUX
Category
NOTES
Definition
rsync include exclude
Definition Description
Linux:
rsync -vr /storage/GoogleDrive/ /storage/Gdrive >> /storage/syncGdrivelog.log
Folder exclude edilmistir archive_backup :
rsync -vrt --exclude *.trn --exclude 'archive_backup' /cygdrive/T/BACKUPS/ /cygdrive/E/SQL_BACKUP/TumAylarFULLBackup >> "$logpath"aylik_copy"$current_time".log
Windows: C:\cygwin64\bin\rsync.exe -rv --include="*.bak" --include="*.diff" --exclude="*.trn" --verbose "/cygdrive/D/testA" "/cygdrive/D/testB" >> logFortest.txt
Eğer folder (dosya) exclude etmek istiyorsak: rsync -a --exclude cache/ src_folder/ target_folder/
RecordBy
cunay
Record Date
22-12-2016 07:52:25
Düzenle
Kopyala
Sil