rsync for directory structures only
tim.nelson at osioutsourcing.com
Fri Jul 4 03:03:18 EST 2003
Found my answer. Sorry for not looking harder first..
rsync -av --include '*/' --exclude '*' source-dir dest-dir
> -----Original Message-----
> From: Tim Nelson
> Sent: Thursday, July 03, 2003 11:58 AM
> To: 'rsync at samba.anu.edu.au'
> Subject: rsync for directory structures only
> I am looking to only sync directories not any files within them..
> Is there a switch/trick available for this in rsync ?
> Thanks for any suggestions !!
> Tim Nelson
> Senior UNIX Systems Administrator
> OSI Support Services, Inc.
> 2520 N. 170th Street
> New Berlin, WI 53151
> T: 262-780-2134
> F: 262-780-2050
> E: tim.nelson at osioutsourcing.com
Outsourcing services are primarily performed by OSI Outsourcing Services, Inc.; collection services are primarily performed by OSI Collection Services, Inc.; letter series collection services are primarily performed by North Shore Agency, Inc. and Transworld Systems, Inc.; portfolio services are performed by OSI Portfolio Services, Inc.
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
More information about the rsync