structure only

Max Bowsher maxb at ukf.net
Tue Mar 25 23:17:49 EST 2003


Sven.Kienle at boysen-online.de wrote:
> Hi people,
>
> I used to copy filesystem structures ( only Directories ) with rsync
> version 2.3.1.
> For this I used
>
> rsync -e ssh -trulogxp - -include "*/" - -exclude "*"
> remotemaschine:/source /localtraget
>
> Now, on a new maschine with rsync version 2.5.5 that doesn´t work any
> more. Now rsync copies directories and files, too.
>
> Is is possible to do a workaround with the newer version(s) ?
> Or is it a bug ?

Run with -vv to see how the include/exclude it being applied. That usually
shows why it's not doing what you want.

Max.



More information about the rsync mailing list