i try to backup my home folder with rsync...
in a script i have
# directory to backup
# excludes file - this contains a wildcard pattern per line of files to exclude
OPTS="-a -r -v --exclude-from=$EXCLUDES"
# the name of the backup machine
# now the actual transfer
rsync $OPTS $BDIR $BACKUPDIR
i try to exclude some folde and all sub-directory...
in my exclude.txt i have
when i run the script, rsync copy all file .... it copy mp3 and Download folder..... but i don't want that....