Is it possible to specify the destination filename for every file being synced with rsync
Matthias Schniedermeyer
ms at citd.de
Sat Nov 2 11:58:00 MDT 2013
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
More information about the rsync
mailing list