rsync for directory and files structures only

Matt McCutchen hashproduct+rsync at gmail.com
Fri Apr 27 01:26:12 GMT 2007


On Thu, Mar 15, 2007 at 10:44:08AM +0200, Nick A Gordun wrote:
> I am looking for to only sync directories and files structures only,
> without coping any data within files...

On 3/15/07, Wayne Davison <wayned at samba.org> wrote:
> It cannot copy any other "file structures" other than the files
> themselves, which includes data.

Nick,

If by copying "file structures" you mean that you want an empty file
on the destination corresponding to each source file, you could
compile a copy of rsync patched with
"patches/source-filter_dest-filter.diff" and then specify a source
filter like "/bin/true".

Matt


More information about the rsync mailing list