[Tfug] Need help with a complicated command line copy...

Jim March 1.jim.march at gmail.com
Wed Jun 27 15:51:45 MST 2007


One more piece of the puzzle: all of the disks I'm extracting data
FROM are either NTFS or FAT32.  I'll be copying them to Ext3 and then
writing out the finished stuff back to an NTFS partition.

Does this affect the timestamp IDs?

Thanks!

Jim

On 6/27/07, Paul Lemmons <paul at lemmons.name> wrote:
>
> -------- Original Message  --------
> Subject: Re:[Tfug] Need help with a complicated command line copy...
> From: Paul Lemmons <paul at lemmons.name>
> To: Tucson Free Unix Group <tfug at tfug.org>
> Date: 06/27/2007 03:35 PM
>
>
> > Hmmmm have not tried this but I think....
> >
> > # find /source/directory -type f | xargs -i{} rsync -u "{}" "/dest/dir/{}"
> >
> > The find will locate all fles. You can limit the file types with the
> > -name option.
> > The xargs program will run the command after it on each file that it finds
> > The rsync command will check dates before copy and not overwrite newer
> > files.
> >
> > It is not tested but I think it is probably pretty close to what you are
> > saying you want.
> >
>
> Update:
>
> # 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.
>
>
> --
> 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.
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>




More information about the tfug mailing list