On 4/16/07, SteveT <[EMAIL PROTECTED]> 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: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to