[Tutor] Re: Copy without overwrite?

Lee Harr missive at hotmail.com
Tue Sep 21 23:05:20 CEST 2004


>Is there a simple way to copy files and directory without
>any overwriting if the destination tree
>structure contains files and directory of
>the same name? Basically that would just add new elemen
>to the destination structure, and leave the
>existing structure intact.


I would probably use rsync.

That has both
        -u, --update                update only (don't overwrite newer 
files)
and
            --ignore-existing       ignore files that already exist on 
receiver

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



More information about the Tutor mailing list