Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-29-2006, 05:26 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Searching for app: cp with status indication

Hi everyone.
I was wondering if any of you know a commanline application like cp but which also have a status indication off how far along in the copying it is (I have a lot of DVD's with 6-10 big files on them which I occassionably copy to my harddrive).
I did actually, just for the fun of it, wirte a bash script to do this, which works quite fine, the output looks like this:
X@TLE32:~$ copy multimedia/video/0.33\ DVD/* .

COPIED: averylargefile.dat     in 0m 56s     at 26,6MB/s

FILE:11%,   35,4MB/s   ALL FILES:22%,   Passed: 1m 2s,   Total: 4m 37s,   Remaining: 3m 35s
As nice as that may look it is lacking several important options, most importantly the -r option.
Thanks in advance, Regards TLE02

PS: I found it difficult to search for this because searching, forums, the web or webpage with Linux apps, for words like "copy, cp, status" gives A LOT of hits but if I have missed an obvious way to find this plase let me know so that I may learn.

PPS: I know there's always the wonderfull Midnigth Commander (mc), but I just love that white text on black background CommandLlineInterface stuff.
Old 03-29-2006, 08:25 PM   #2
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Freshmeat has some, though used in pipes:
Old 03-30-2006, 05:17 AM   #3
LQ Newbie
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Great thanks. Would it be possible to somehow patch a cp -r command through a pipe ?

BTW I had a little more luck searching for info about this and I found a thread(sorry can't add url because I have to few posts) in the Ubuntu forums indicating this in the version of coreutils in Gentoo, there cp has a -g option which is actually a status indicator, but it's not in the Ubuntu version (Don't know if it has been disabled or if the Gentoo people has added it). So as an alternative solution does anybody know how to either:
1. Install the Gentoo version of coreutil ?
2. Enable the -g flag in the Ubuntu ?
=== Thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
searching for app that will stream mp3 to shoutcast along with mp3 metadata h2gofast Linux - Software 3 01-10-2007 03:41 AM
script or app mailcheck app from shell pandersson61 Linux - Software 1 03-24-2006 08:16 PM
Eth link up/down indication prital Linux - Networking 2 11-30-2005 04:58 AM
New app install, or, I've d/l'd the app, now what? Dani Linux - Newbie 4 01-06-2002 08:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration