$ 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


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to