• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

cp time remaining?

Boomslang

Limp Gawd
Joined
Apr 28, 2007
Messages
451
Asking this question out of curiosity, mostly - is there a way to show an estimate of the remaining time left on a simple cp operation? It doesn't seem like there's a functionality for that built into cp itself, but what about a separate program?
 
Good question...it would be nice to know if there is a tag or something that will show how long a cp or mv command time is remaining.
 
Setup a ftp server on localhost, ftp to it and move stuff that way?
 
du -sh source/

start copying and put it into the background

occasionally du -sh destination/

Not exactly' time remaining' but useful information enough.
 
Well you inspired me to look for something, and found it!

rsync --progress

Wasn't aware you could use it to copy files locally, but it works like a charm. Time estimates are per file though, but it does show what file is being copied.

Let's call it 50% of what you want...well maybe 20%.
 
You can use vcp (curses based)

THe gentoo devs submitted a patch which enabled a progress bar but it was rejected upstream. You can get the patch and apply if you *really* want it
 
I don't know of any command-line tools that tell you time remaining for an entire operation... I guess in these tools' defense, time remaining can be difficult to determine anyway, so none of the tools bother to tell you the "Microsoft minutes" remaining.

rsync with the -Pv options will tell you the time remaining on the specific file it is transferring, which is better than nothing. I usually use rsync over cp most of the time.
 
Back
Top