Cary Lewis
2013-Nov-02 15:39 UTC
Is it possible to specify the destination filename for every file being synced with rsync
E.g. I have a directory with 10,000 files, and I want to sync them to a remote server, but I want to map the source filenames to a different set of filenames on the server. Is there a way to create an input file for rsync to use that specifies a src/dst pair? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20131102/0ed29aa6/attachment.html>
Matthias Schniedermeyer
2013-Nov-02 17:58 UTC
Is it possible to specify the destination filename for every file being synced with rsync
On 02.11.2013 11:39, Cary Lewis wrote:> E.g. I have a directory with 10,000 files, and I want to sync them to a > remote server, but I want to map the source filenames to a different set of > filenames on the server. > > Is there a way to create an input file for rsync to use that specifies a > src/dst pair?AFAIK this doesn't work directly. But you could create hardlinks of your source files into another directory locally and then rsync that directory. -- Matthias