You are not logged in.

#1 2007-08-14 14:10:22

energiya
Member
Registered: 2007-03-03
Posts: 29

[Solved] copy speed

Is there any way I can see some information while copying files? Like speed, time remaining, or nr files remaining. cp doesn't show anything, mc shows copy progress but that's it.

I'm asking because I have to copy data from one hdd to another and I would like to see more info so that I know how much will last.

Thanks in advance!

Last edited by energiya (2007-08-22 11:36:15)

Offline

#2 2007-08-14 14:36:05

veek
Member
Registered: 2006-03-10
Posts: 167

Re: [Solved] copy speed

I saw one interesting solution here:

http://www.linuxquestions.org/questions … p?t=110266

They suggest using scp, I tried it out. It works well and it shows all the info you wanted including time remaining.

scp uses ssh so you gotta start up your ssh daemon and you'll be good to go.

Offline

#3 2007-08-14 14:51:45

energiya
Member
Registered: 2007-03-03
Posts: 29

Re: [Solved] copy speed

Thanks for the quick answer! I'll give it a try.

@idea
This gave me an idea to make a small script that will first find out the number of files and then parse the output of cp -v and give some useful info without a big speed penalty... hmm... I'll try it as soon as I can and post here if I can get it to work.

Offline

#4 2007-08-14 15:40:24

veek
Member
Registered: 2006-03-10
Posts: 167

Re: [Solved] copy speed

Also check this out:

http://www.theiling.de/projects/bar.html

This is a program called bar, it's in the repos.

From the description in the link, if you call it like this:

bar -o outfile infile

It'll show transfer progress and time remaining.

Offline

#5 2007-08-14 15:43:36

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

Re: [Solved] copy speed

A friend of mine once coded a patch for cp and mv that gives the wanted functionality via a -v flag. He sent it to the maintainers of coreutils and they turned it down because they thought that this is not needed. They even suggested to use scp instead. So yeah, I guess it's a lost cause.


Todays mistakes are tomorrows catastrophes.

Offline

#6 2007-08-15 13:58:09

energiya
Member
Registered: 2007-03-03
Posts: 29

Re: [Solved] copy speed

bar seems interesting....

@mucknert
Not needed? They should at least make it possible to enable/disable at compile time...

Offline

Board footer

Powered by FluxBB