bug-fileutils
[Top][All Lists]
Advanced

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

Re: [PATCH] cp/mv display progress


From: Bob Proulx
Subject: Re: [PATCH] cp/mv display progress
Date: Mon, 3 Feb 2003 10:10:08 -0700
User-agent: Mutt/1.3.28i

Benjamin Schieder wrote:
> 
> I frequently move large files from one disk to another and I wanted
> to see how much was copied already.  Some friends of mine also
> wanted this feature and urged me to send the patch here.

Thanks for sharing your patch with the mailing list.  It is most
appreciated with people show and share their code.

> Brief description:
> 
> # cp -D large_file /another/disk
> 
> `large_file':   1% copied\r`large_file':   2% copied\r

Have you looked at the 'rsync' command?  It provides this
functionality and more.

  http://rsync.samba.org

The core utilities such as cp, mv, rm, are required utilities on /bin
on all systems.  Therefore extra care needs to be taken that they
don't bloat too much.  It reduces their ability to be useful on a wide
range of platforms.  Already there are other programs such as busybox
which implies that the core utilities are too bloated already.  And if
this functionality were added to cp it would imply that other commands
such as mv also needed the same functionality added to them as well
multiplying the problem.

I would prefer not to see this type of functionality added to the
utils.  Especially since the same type of functionality already exists
in the 'rsync' command.  The 'rsync' command provides a wide range of
additional functionality such as this over the 'cp' command.  The two
commands supliment each other very nicely.

Bob

Attachment: pgpUXhGEih8Ta.pgp
Description: PGP signature


reply via email to

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