I'm migrating files between servers and have to map UIDs (add 500) and GIDs. As I'd like to have it done in one single pass, is there a way to execute a command for each file rsync copies?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
rsync does what you want if you give Obviously you need root permissions on the remote side for this to work. This means you need to log in as root on the remote system if rsyncing over SSH. If you're running |
|||||||||||
|