tech-userlevel archive

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

Re: cp -n ?



On Mon, Apr 4, 2011 at 4:37 PM, Valeriy E. Ushakov 
<uwe%stderr.spb.ru@localhost> wrote:
> Zafer Aydo?an <zafer%aydogan.de@localhost> wrote:
>
>
> is this the same as:
>
> $ yes n | cp -i ...
>

This is not the same as GNU cp -u which updates the file if the source
file is newer than the destination file. But yes, this is same as
FreeBSD's cp -n where a destination file is not overwritten if it
exists.


Home | Main Index | Thread Index | Old Index