Re: Updates on "mv", "cp" commands

Michal Nazarewicz <[email protected]> Sun, 01 Nov 2009 09:11:20 +0100
Newsgroups org.kernel.vger.linux-console
Message-ID <[email protected]>
"BRAGA, Bruno" <[email protected]> writes:
> I don't know if that's the place to post this question, but I am sure
> someone here will be able to give me hints on how to proceed.
>
> I would like to propose and patch improvements on the "mv" (move) and
> "cp" (copy) commands, by adding options for progress information.

That's something I was wondering about some time ago myself.

> The idea is that any GUI actions already do it graphically, and other
> CLI applications, such as "rsync", have this as an extended option
> "--progress". This is handy for large files processing, for instance.
>
> I looked for the code in the kernel source but I did not find any. I
> could find some sources on the GNU OS, but I am not sure if that's the
> right place (probably not).

You won't find any sources of cp or mv in Linux source code because cp
and mv commands are user space and as such they are not part of Linux
per se.

If you are using some kind of GNU/Linux distribution the place to look
is GNU coreutils package.  Consult gnu.org webpage for it's source code
and information how to submit patches.

-- 
Best regards,                                         _     _
 .o. | Liege of Serenly Enlightened Majesty of      o' \,=./ `o
 ..o | Computer Science,  Michal "mina86" Nazarewicz   (o o)
 ooo +--<mina86*tlen.pl>--<jid:mina86*jabber.org>--ooO--(_)--Ooo--
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iEYEARECAAYFAkrtQq8ACgkQUyzLALfG3x4GdACdHAkTFJ1wq0gbiow0miZK7SUF
hRcAoLBJyxQPjTgJhKDke1uVHF+woNFg
=tYt6
-----END PGP SIGNATURE-----