Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] file system usage?
On 2017-06-13 18:23, Felix Miata wrote:
Istvan Gabor composed on 2017-06-13 15:14 (UTC+0200):


My reading is unless you preserve hard links, you get at least two separate
files on the target for each hard linked file on the source. So if you really
want a clone, either clone, or use rsync -aHAX.

I use:

OPTIONS="--archive --acls --xattrs --hard-links --stats --human-readable"

--archive is the same as:

# -a, --archive archive mode; same as -rlptgoD (no -H)
# -r, --recursive recurse into directories
# -l, --links copy symlinks as symlinks
# -p, --perms preserve permissions
# -t, --times preserve times
# -g, --group preserve group
# -o, --owner preserve owner (super-user only)
# -D same as --devices --specials
# --devices preserve device files (super-user only)
# --specials preserve special files


--
Cheers / Saludos,

Carlos E. R.
(from 42.2 x86_64 "Malachite" at Telcontar)

< Previous Next >