[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copying only files that are not into the destination



On Thu, 24 Dec 2009, Brad Rogers wrote:
copied in /destination/. Using cp -i is not a good idea, as there
could be something like ~5000 files which are not in /destination/,
but which are in /source/.

cp -n does that.

Wonder if I'm missing something, but `cp -n' on Lenny gives me this:

    girish@marvin:~$ cp -n -r foo /tmp
    cp: invalid option -- n
    Try `cp --help' for more information.

Girish.

--
Girish Kulkarni - Allahabad, India - http://athene.org.in/girish


Reply to: