bug-coreutils
[Top][All Lists]
Advanced

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

cp -upv copies even when not newer


From: Dan Jacobson
Subject: cp -upv copies even when not newer
Date: Sat, 04 Sep 2004 12:57:48 +0800

$ man cp
       -u, --update
              copy only when the SOURCE file is newer
$ echo ooo>c
$ cp -upv c e
`c' -> `e'
$ test c -nt e;echo $? #is it newer? No.
1
$ cp -upv c e
`c' -> `e'

cp (coreutils) 5.0.91




reply via email to

[Prev in Thread] Current Thread [Next in Thread]