Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

rsync keep old files

rsync -vzrb --backup-dir=_old_ --suffix=$(date+_%F-%T) --update --times /path/to/source backupuser@1.2.3.4:./path/to/destination
Source by rootconsole.net #
 
PREVIOUS NEXT
Tagged: #rsync #files
ADD COMMENT
Topic
Name
2+3 =