Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
rsync [OPTION]... SRC [SRC]... DEST -- make backups into hierarchy --acls, -A preserve ACLs (implies --
rsync [OPTION]... SRC [SRC]... -- set backup suffix (default ~ w/o --owner, -o preserve owner (super-user
suffix=SUF --backup-dir)
[USER@]HOST::DEST only)
FIX
rsync [OPTION]... SRC [SRC]... --group, -g preserve group
--update, -u skip files that are newer on the
rsync://[USER@]HOST[:PORT]/DEST
--devices preserve device files (super-
receiver
rsync [OPTION]... [USER@]HOST:SRC [DEST] user only)
--inplace update destination files in-place
rsync [OPTION]... [USER@]HOST::SRC --specials preserve special files
(SEE MAN PAGE
[DEST]
-D same as --devices --special
--append append data onto shorter files
rsync [OPTION]...
--times, -t preserve modification times
-- like --append, but with old data
rsync://[USER@]HOST[:PORT]/SRC [DEST]
append-verif in file checksum --omit-dir- omit directories from --times
The ':' usages connect via remote shell, while '::' y times, -O
& 'rsync://' usages connect to an rsync daemon,
--dirs, -d transfer directories without --super receiver attempts super-user
and require SRC or DEST to start with a
recursing activities
module name.
--links, -l copy symlinks as symlinks --fake-super store/recover privileged attrs
using xattrs
rsync Options --copy- transform symlink into referent
links, -L file/dir
-- increase verbosity rsync Options contd.
verbose, --copy- only "unsafe" symlinks are
--quiet, -q suppress non-error messages --safe-links ignore symlinks that point --dry-run, -n perform a trial run with no
outside the source tree changes made
--no- suppress daemon-mode MOTD
motd (see manpage caveat) --copy- transform symlink to a dir into --whole-file, - copy files whole (without delta-
dirlinks, -k referent dir W xfer algorithm)
-- skip based on checksum, not mod-
checksum time & size --keep- treat symlinked dir on receiver --one-file- don't cross filesystem
, -c dirlinks, -K as dir system, -x boundaries
--archive, archive mode; equals -rlptgoD (no --hard-links, preserve hard links --block- force a fixed checksum block-
--no- turn off an implied OPTION (e.g. -- --perms, -p preserve permissions -- specify the remote shell to use
recursive, , -E
-r -- affect file and/or directory
relative, - MOD
rsync Options contd. (cont) rsync Options contd. (cont) rsync Options cont'd.
--rsync- specify the rsync to run on --partial keep partially transferred files --compress- explicitly set compression
path=PROGRA the remote machine --partial- put a partially transferred file level=NUM level
M
dir=DIR into DIR --skip- skip compressing files with a
--existing skip creating new files on compress=LIS suffix in LIST
--delay- put all updated files into place
receiver T
updates at transfer's end
-- skip updating files that --cvs-exclude, auto-ignore files the same
--prune- prune empty directory chains
ignore-existing already exist on receiver -C way CVS does
empty-dirs, -m from the file-list
-- sender removes --filter=RULE, add a file-filtering RULE
--numeric-ids don't map uid/gid values by
remove-source synchronized files (non-dirs) user/group name -f
-files -F same as --filter='dir-merge
-- set I/O timeout in seconds
--del an alias for --delete-during /.rsync-filter'
timeout=SEC
--delete delete extraneous files from ONDS repeated: --filter='- .rsync-
destination dirs --contimeout set daemon connection filter'
-- also delete excluded files --temp-dir, -T create temporary files in --include- read include patterns from
-- delete even if there are I/O --fuzzy, -y find similar file for basis if no --files- read list of source-file names
--force force deletion of directories --compare- also compare destination files --from0, -0 all *-from/filter files are