Rsync Flags - Sheet1 Flashcards
1
Q
-c, –checksum
A
skip based on checksum, not mod-time & size
2
Q
-r, –recursive
A
recurse into directories
3
Q
-R, –relative
A
use relative path names
4
Q
-b, –backup
A
make backups (see –suffix & –backup-dir)
5
Q
-u, –update
A
skip files that are newer on the receiver
6
Q
-d, –dirs
A
transfer directories without recursing
7
Q
-p, –perms
A
preserve permissions
8
Q
-X, –xattrs
A
preserve extended attributes
9
Q
-t, –times
A
preserve modification times
10
Q
-n, –dry-run
A
perform a trial run with no changes made
11
Q
–rsync-path=PROGRAM
A
specify the rsync to run on remote machine
12
Q
–existing
A
skip creating new files on receiver
13
Q
–del
A
an alias for –delete-during
14
Q
–delete
A
delete extraneous files from dest dirs
15
Q
–delete-before
A
receiver deletes before xfer, not during