[Top][All Lists]

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

cp command in linux issue

From: Patrick Chin
Subject: cp command in linux issue
Date: Sun, 22 Nov 2009 08:49:38 -0500

If I run cp as follows:

# cp -Rup source destination

Why would it prompt me for overwrites since the -u is part of the argument?

       -u, --update
              copy only when the SOURCE file is newer than the destination file 
or when the destination file is missing

I don't really want prompting to occur and just update files that don't exist 
or is newer.  I also tried:

# cp -Rupf source destination

And I was still prompted for yes and no for overwriting.

Attachment: Mr Patrick Chin P Eng .vcf
Description: Mr Patrick Chin P Eng .vcf

reply via email to

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