I need to transfer files with extended attributes from my local system (SL 6.5) to a remote server (Centos 5.6). However, both scp
and rsync
are dropping the attributes, so I'm having to manually setfattr
on the server. Any pointers on how to do this properly? Thanks.
Redhat – Transfer files with extended attributes: Redhat to Redhat
attributesfile-transferredhat
Related Topic
- Transfer 10 TB of files from USA to UK datacenter
- Windows – How to transfer huge files (50GB+) from remote Windows server
- Ssh – file transfer with ssh pipe; without scp
- Rsync hangs when transfering large files on an bad connection
- Linux – Transfer 15TB of tiny files
- Ssh – Debug slow lan (ssh, nfs) file transfer
Best Answer
AFAIK scp doesn't.
rsync has the
-X, --xattrs
switch for extended attributes (think SELinux contexts) and the-A, --acls
to preserve ACL's, which are what you modify with setfattr.