Hi,

Looks like the --relative flag is what you are looking for.


> Does anyone know if "rsync" can recursively create a directory if the
> directory at the destination does not exist?  For example:
> 
> Source Directory/File:
> 
> /usr/local/apache/htdocs/central/suggestions/index.html
> 
> Destination Directory/File:
> 
> /usr/local/apache/htdocs/central
> and
> /usr/local/apache/htdocs/central/suggestions
> 
> don't exist.
> 
> So with that, can rsync create the two directories (central and
> suggestions) with some sort of flag?  I was unable to find it in the
> man page.
> 


-- 
Wilson Fletcher, McLachlan Group Pty Ltd
Level 34, 225 George St Sydney NSW 2000
Phone: +61 2 92516511 Fax: +61 2 92517343
Email: [EMAIL PROTECTED]

Reply via email to