emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#7715: closed (cp command on Linux )


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#7715: closed (cp command on Linux )
Date: Thu, 23 Dec 2010 01:45:02 +0000

Your message dated Wed, 22 Dec 2010 17:50:52 -0800
with message-id <address@hidden>
and subject line Re: bug#7715: cp command on Linux
has caused the GNU bug report #7715,
regarding cp command on Linux 
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
7715: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7715
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: cp command on Linux Date: Wed, 22 Dec 2010 16:07:20 -0500

Hi

I do not log any bug for cp command. In our company, we copy huge Cobol files before processing data. This is to rollback our data files.

Suppose A1 is my huge file of 60GB and A1.bk is its backup file, before we process ( change ) data into A1. Then which of our method

would be faster?

1. Method-1 ( A1.bk exists )
    $ cp  A1 A1.bk

2. Method-2 
    $ rm -f A1.bk
    $ cp A1 A1.bk

3. Method-3
    $ cp --remove-destination A1 A1,bk

This operation is very simple. But our operators tell, in some cases cp takes longer time. How can we reduce copying time?

Thanks
Hemant Rumde
ING US
Boston US

---------------------------------------------------------

NOTICE: The information contained in this electronic mail message is confidential and intended only for certain recipients.  If you are not an intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication and any attachments is strictly prohibited.  If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it.

============================================================================================

--- End Message ---
--- Begin Message --- Subject: Re: bug#7715: cp command on Linux Date: Wed, 22 Dec 2010 17:50:52 -0800 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
On 12/22/2010 01:07 PM, Hemant Rumde wrote:
> Then which of our method would be faster?

Method 3 is probably a tad faster than method 2,
but whether 1 or 3 is faster depends on the
underlying implementation.  If you're seeing
wildly different performance numbers I'd look
there, not at 'cp' itself.


--- End Message ---

reply via email to

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