You are not logged in.

#1 2006-07-06 05:11:41

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Progress bar for cp

Has anyone else ever wondered why cp doesnt have a parameter for a progress bar of some sort?

I've been moving some big-ish files, dvd iso's and things between partitions, and it's just started to annoy me a little -- I've got no idea how long the transfer will take.

I googled a little bit, and found a suggestion to use scp, eg scp file localhost:destination. It works, but there's no doubt some overhead as it runs through ssh.

Anyone got any better suggestions other than using a gui file manager?

James

Offline

#2 2006-07-06 05:15:46

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: Progress bar for cp

it isnt in cp's features, u r right, it struck me b4 but i never asked 4 it,  Will be a nice feature it it is inbuilt


Be yourself, because you are all that you can be

Offline

#3 2006-07-06 05:16:19

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: Progress bar for cp

btw why dont u create it?
i am not gr8 shakes at prog. or i'll try!


Be yourself, because you are all that you can be

Offline

#4 2006-07-06 05:26:24

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: Progress bar for cp

A friend of mine created a patch to cp and mv to have a status-bar years ago and sent it to the fileutils-guys (mv and cp are parts of it if I am not mistaken). The replied with "Thanks for you work, it's okay but we wont take it into the main-tree." They said they wanted to keep more bloat away from them as they felt that mv and cp are too big already.

I could never follow that argumentation. But if the attitude of the devs hasn't changed I doubt you will ever find some kind of progress-information in cp and mv. Anyway, if you are interessted in the patch, find it at http://www.crash-override.net/patchescoreutils.html


Todays mistakes are tomorrows catastrophes.

Offline

#5 2006-07-06 05:28:35

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Progress bar for cp

http://dev.gentoo.org/~kingtaco/mirror/ … .4.tar.bz2

yep, gentoo include a patch to add it. I cant be bothered recompiling coreutils though, I'll just take their suggestion and use rsync.

James

Offline

#6 2006-07-06 06:19:19

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Progress bar for cp

You could probably do that with pipemeter.

Offline

#7 2006-07-06 11:54:44

AllTom
Member
Registered: 2006-01-02
Posts: 60
Website

Re: Progress bar for cp

See bar, in community (packaged by codemac, who else?).

Offline

#8 2006-07-06 12:22:16

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: Progress bar for cp

hahah, I was about to say that.

Grr for me not being as on top of things as AllTom.

Offline

#9 2006-07-07 00:34:17

AllTom
Member
Registered: 2006-01-02
Posts: 60
Website

Offline

Board footer

Powered by FluxBB