lobiheart.blogg.se

Rsync mac os x mountain lion
Rsync mac os x mountain lion





rsync mac os x mountain lion

out-format= FORMAT output updates using the specified FORMAT K, -keep-dirlinks Treat symlinked dir on receiver as dir k, -copy-dirlinks Transform symlink to a dir into referent dir i, -itemize-changes output a change-summary for all updates

rsync mac os x mountain lion

h, -human-readable Output numbers in a human-readable format h, -help Show help (with no other options) bwlimit= KBPS Limit I/O bandwidth, KBytes per second blocking-io Use blocking IO for the remote shell B, -block-size= SIZE Force a fixed checksum block-size address= ADDRESS Bind address for outgoing socket to daemon 8, -8-bit-output Leave high-bit chars unescaped in output 0, -from0 All *-from/filter files are delimited by 0s compress-level= NUM Explicitly set compression level

#RSYNC MAC OS X MOUNTAIN LION UPDATE#

inplace Update destination files in-place (SEE MAN PAGE) u, -update Update only (don't overwrite newer files) compare-dest=DIR Also compare destination files relative to DIR T -temp-dir=DIR create temporary files in directory DIR remove-source-files Sender removes synchronized files (non-dirs) log-format= FORMAT Log file transfers using specified format list-only List the files instead of copying them max-delete= NUM Don't delete more than NUM files ignore-errors Delete even if there are IO errors force Force deletion of directories even if not empty delete-excluded Also delete excluded files on the receiving side delete-during receiver deletes during transfer, not before delete-before receiver deletes before transfer (default)

rsync mac os x mountain lion

delete-after Delete after transferring, not before del Delete files that don't exist on the sending side ignore-existing skip updating files that already exist on receiver existing Only update files that already exist C, -cvs-exclude Auto ignore files in the same way CVS does backup-dir= DIR Make backups into this directory b, -backup Make backups (default ~ suffix) x, -one-file-system Don't cross filesystem boundaries W, -whole-file Copy whole files, no incremental checks S, -sparse Handle sparse files efficiently t, -times Preserve creation and modification dates and times delay-updates Put all updated files into place at transfer's end partial-dir= DIR Put a partially transferred file into DIR partial Keep partially transferred files O, -omit-dir-times Omit directories when preserving times numeric-ids Don't map uid/gid values by user/group name n, -dry-run Show what would have been transferred safe-links Ignore links outside the destination tree copy-unsafe-links Copy links outside the source tree L, -copy-links Copy the referent of symlinks l, -links Treat symlinks as symlinks don't follow them executability Preserve the file's executability D, -devices Preserve devices (root only) d, -dirs Transfer directories without recursing 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

rsync mac os x mountain lion

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:







Rsync mac os x mountain lion