Displaying 1 result from an estimated 1 matches for "targetbasedir".
2007 Apr 16
1
copying base file rather than complete directory structure
I have a basic directory structure that I want to be able to copy in one of
two ways.
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
That works fine and I end up with /targetBaseDir/d/e/f
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...