rsync arguments
rsync -a src/ dst/ is too aggresive when backing up files between different file systems - most notably between Samba & Unix. -a is a short hand for -rlptgoD
- -r recursive
- -l copy symlinks as symlinks
- -p preserve permissions
- -t preserve times
- -g preserve group
- -o preserve owner (super-user only)
- -D same as --devices --specials
- -C auto-ignore files in the same way CVS does
- -r recursive
- --exclude=.DS_Store don't copy Macintosh directory info
- --size-only skip files that match in size
0 Comments:
Post a Comment
<< Home