copying base file rather than complete directory structure

SteveT steve at
Mon Apr 16 17:10:08 GMT 2007

Thanks for that.
I had tried the --relative and R options with no joy and even after you
pointed out the --no-relative option I couldn't see it in the --help/man
pages until it dawned on me the --no-OPTION was it.....senility has
definitely set in...

Thanks again....

Matt McCutchen-3 wrote:
> On 4/16/07, SteveT <steve at> wrote:
>> The base structure is /a/b/c under that structure I have /d/e and finally
>> files 'f'. I create a list of the /d/e/f files and put them in a file and
>> then use:
>> rsync -auvP /a/b/c --files-from=myFileList targetBaseDir
> [...]
>> Now what I also want to do is to ignore the /d/e directories, so
>> basically
>> rsync the files 'fi at the bottom of the directory structure directly
>> into
>> targetbaseDir to end up with a result of /targetBaseDir/f
>> Is this possible? I can't see an option that implies 'copy just basename
>> file'
> You want --no-relative .
> Matt
> -- 
> To unsubscribe or change options:
> Before posting, read:

View this message in context:
Sent from the Samba - rsync mailing list archive at

More information about the rsync mailing list