In article <005i045cfs7akj54i7m93gojnvt2rk2p8t.DeleteThis@4ax.com>, Howard Brazee
<howard.DeleteThis@brazee.net> wrote:
> I'd like to copy files from:
> /Volumes/pbrazee/copy/My Documents/home/
>
> from my .mac iDisk
>
> to /Users/HBrazee/Documents/home/
>
> on my iMac.
>
> I want to keep the time-date stamp, and not copy files with a newer
> time-date stamp on the destination directory.
>
>
> I was thinking the way to go is with a BASH script - but I need some
> help.
>
> (I will be copying other directories of files back and forth within
> the same script).
>
From the command line, you can use tar or 'rsync -t' to copy files
preserving the file times. Both have options for deciding to copy files
or not based on file times, although rsync is probably a little more
straightforward.
I don't understand "not copy files with a newer time-date stamp". This
seems counter to the normal practice of only copying files from a
source which are newer than the same-named file on the destination. Can
you explain further?
--
Jim Gibson
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
http://www.usenet.com