[Tfug] Need help with a complicated command line copy...
Paul Lemmons
paul at lemmons.name
Thu Jun 28 10:13:28 MST 2007
>
> # find /source/directory -type f | xargs -i{} rsync -u "{}" /dest/dir
>
> I just reread the part where you do not want to reserve the directory
> structure.
>
>
I am not sure why we are getting all of the complicated solutions to
what seems very simple. I played with this a bit and this looks like it
works and is a very simple solution.
find /source/directory -type f | xargs -i{} rsync -uptv "{}" /dest/dir
Am I missing something? If you are looking only for particular file
types you can use the -name option of find.
--
Sometimes I wonder. Were our faith able to stand upright and look
around, would it be looking down at the mustard seed or standing in awe
of the height and bredth of it.
More information about the tfug
mailing list