rsync usage
exclude directories
In advanced Options > “Additional Options” >paste :
--exclude-from=/mnt/data/SYS//grsync-exclude.txt
rsync -a –exclude ‘mydir/*’
Exclude Multiple Files and Directories
The –exclude option can be used multiple times in order to exclude multiple files and directories. In the following example we will exclude the files named “file.txt“, “myfile.xls“, and directories “mydir” and “yourdir“.
rsync -a --exclude 'mydir' --exclude 'yourdir' --exclude 'file.txt' --exclude 'myfile.xls' /home/ismail /mnt/disk
Multiple files and directories can be excluded for the rsync command by using the following syntax. Files and folders is specified inside a curly brackets.
--exclude={ITEM,ITEM,ITEM,...}
–exclude={‘databases’,’entertainment’,’downloads’ ,’install’ ,’org’ ,’VirtualBox-VMs’}
resulting rsync command from Gsync
rsync -r -t -p -o -g -v –progress -l -s –exclude={databases,entertainment,downloads ,install ,org ,VirtualBox-VMs} /mnt/data /media/ward/UD-2TB/backup-data
==> synced evertything