LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2007, 07:11 PM   #1
ankit_mcgill
Member
 
Registered: Aug 2005
Location: Montreal
Distribution: OpenSuse 10.3
Posts: 65

Rep: Reputation: 15
Feedback from shell commands - like amount copied with 'cp'


Hi there,

Is there a way to get feedback from 'cp' command on how much it has copied so far while its still copying ?

I am trying to make a progress bar and i would need this info to update the bar ...

thanks
ankit
 
Old 11-21-2007, 08:03 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Here are three things to look at:
http://www.mail-archive.com/linux-il.../msg48352.html
http://clpbar.sourceforge.net/doxyge...tml/index.html
http://www.linuxquestions.org/questi...ss-bar-407381/
 
Old 11-21-2007, 08:41 PM   #3
ankit_mcgill
Member
 
Registered: Aug 2005
Location: Montreal
Distribution: OpenSuse 10.3
Posts: 65

Original Poster
Rep: Reputation: 15
thanks a lot ... thats exactly what i was looking for

a
 
  


Reply


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
Shell Script to check filesize - Amount Of lines baddah Programming 1 08-20-2007 07:58 AM
Make most amount of Linux users in least amount of time studpenguin General 24 02-02-2007 03:42 PM
Alias or shell script to confirm 'exit' commands from a shell rose_bud4201 Programming 2 03-08-2006 02:34 PM
Assistance with 'find -exec cp' shell script dick.swift Linux - Software 6 01-23-2006 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 AM.

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