chmod= CHMOD Affect file and/or directory permissions rsync-path= PATH Specify path to rsync on the remote machine e, -rsh= COMMAND Specify rsh replacement no-implied-dirs Don't send implied dirs with -relative r, -recursive Recursive, traverse into subdirectories modify-window=NUM Compare mod-times with reduced accuracy m, -prune-empty-dirs prune empty directory chains from the file-list modify-window= NUM Timestamp window (seconds) for file match (default=0) min-size= SIZE Don't transfer any file smaller than SIZE max-size= SIZE Don't transfer any file larger than SIZE include-from= FILE Don't exclude patterns listed in FILE include= PATTERN Don't exclude files matching PATTERN size-only Only use file size when determining if a file should be transferred I, -ignore-times Don't exclude files that match length and time F same as -filter='dir-merge /.rsync-filter' f, -filter= RULE add a file-filtering RULE files-from= FILE Read list of source-file names from FILE E, -extended-attributes Copy extended attributes ( xattr) exclude-from= FILE Exclude patterns listed in FILE exclude= PATTERN Exclude files matching PATTERN t = Preserve creation and modification dates and times l = Treat symlinks as symlinks don't follow them r = Recursive, traverse into subdirectories Quick basic example: backup the desktop to the mybackups folder on an external hard drive: rsync -rlpt -stats Desktop /volumes/LaCieDrive/mybackups Remote file copy (Synchronize file trees) Syntax:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |