On Monday 28 November 2011 02:53:57 pm Cowboy wrote: > Some variation of rsync -u where you remove the destination prior to copy > as part of the copy. That way, the source file replaces the destination. > Not so good if the existing target is newer than the source, but rsync does > have options that will allow you to deal with it. I just don't remember the > permutations or syntax to make it happen. > man rsync > will be your friend.
The reason I say rsync for this, is that I know that rsync can replace files while leaving any new files that exist on the destination but not on the source untouched, and you'll have to manually fix those one by one. I'm not sure cp can do this. -- Cowboy http://cowboy.cwf1.com It is better to kiss an avocado than to get in a fight with an aardvark _______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
