 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

19th October 2008, 09:07 PM
|
|
Registered User
|
|
Join Date: Oct 2007
Posts: 884

|
|
|
Show progress with cp?
If i need to copy a several gig folder with cp, i have no way of telling when it will be done. Is there a way to have it give a status/progress bar?
Thanks,
Dave
|

19th October 2008, 10:30 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
"Several gig folder..."
I know this is probably an incomplete answer and I know you probably have some big files in there, but I prefer using the verbose modes to mv, cp, and rm (so much so that I've gotten in the habit of aliasing those commands to use the -v switch by default).
Try cp -v to show file-by-file progress. Unfortunately, no progress bar. It will just tell you when file x is done and has started working on y. Not exactly what you're looking for, but I use it just to keep some activity on the screen to let me know that the machine and the file copy haven't hung.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
|

19th October 2008, 10:38 PM
|
|
Banned
|
|
Join Date: Jun 2008
Posts: 1,315

|
|
Quote:
Originally Posted by tjvanwyk
Unfortunately, no progress bar. It will just tell you when file x is done and has started working on y.
|
Yeah!, i think, it's very good if you have several gig folders within small files!  (lolololol, it sounds like a pirate MP3 depot!  )
bye!
|

19th October 2008, 10:45 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
Quote:
Originally Posted by bee
Yeah!, i think, it's very good if you have several gig folders within small files!  (lolololol, it sounds like a pirate MP3 depot!  )
bye! 
|
Come on... some people have totally legitimate music libraries...
(looks around suspiciously)
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
|

19th October 2008, 10:49 PM
|
 |
Registered User
|
|
Join Date: Jan 2008
Location: NY
Posts: 126

|
|
|
Now, since I totally suck at anything shell, how would I set this up for .bashrc?
cat $1 | pv -s -L $size -p -e -r > $2... uhh, yeah, I have a feeling that's not right. :\
__________________
Quote:
It's definitely not a good idea to talk about any potentially controversial subject where one or more people may potentially—but perhaps not definitely—disagree or have alternate views. The best subjects when discussing with a diversity of people should not tread into any dangerous waters that confirm people are diverse.
Strive for un-provoking discussions about a neutral topic. After all, the most palatable food is that which lacks any seasoning, spices or distinction.
|
So uninteresting...
|

19th October 2008, 10:59 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
Quote:
Originally Posted by chousho
Now, since I totally suck at anything shell, how would I set this up for .bashrc?
|
alias foobar = 'that big long command'
?
EDIT:
Oh, wait. That wouldn't work because the source/destination file names aren't always going to be the same... Nevermind. Proceed to ignore me, now.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:26 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|