Chapter 13
ARCHIVING AND TRANSFERRING FILES
ARCHIVING AND TRANSFERRING FILES
By default tar command is not storing extended attributes (SELinux permissions), to store them, you must use --xattr
option.
TRANSFERRING FILES BETWEEN SYSTEMS SECURELY
remote system to local system:
local system to remote system:
TRANSFERRING FILES USING THE SECURE FILE TRANSFER PROGRAM
SYNCHRONIZING FILES BETWEEN SYSTEMS SECURELY
-v, --verbose
-A
to preserve ACLs
-X
to preserve SELinux contexts
-a, --archive
APPLIES ALL OPTIONS DOWN BELOW:
-r, --recursive
synchronize recursively the whole directory tree
-l, --links
synchronize symbolic links
-p, --perms
preserve permissions
-t, --times
preserve time stamps
-g, --group
preserve group ownership
-o, --owner
preserve the owner of the files
Last updated
Was this helpful?