LinuxQuestions.org
Help answer threads with 0 replies.
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 06-22-2007, 11:37 AM   #1
jjamesis
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Rep: Reputation: 0
cp command - how to show time remaining?


Hi

I need to write a java program running on linux which copies files from one place to another. It needs to display the amount of time left when copying.

I understand how to use the cp comamnd to copy files (cp /location1/filename /location2/filename), but is it possible to to show the show/calculate the time remaining when copying a file?


Thanks for any suggestions.
 
Old 06-22-2007, 12:19 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
These scripts won't show time remaining, but they will show percent complete.
http://www.linuxquestions.org/questi...d.php?t=407381
 
  


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
Battery - continuously display time and % remaining jantman Linux - Laptop and Netbook 2 11-17-2006 05:00 PM
xclock show time in window title bar (using bash?) jaybee Linux - Software 5 06-19-2006 02:27 PM
Why does mysqld not show up w/ps command baandar Linux - Software 3 09-01-2004 03:21 AM
First Time Wizard doesn't show up Darc-Vader Linux - Newbie 13 04-26-2004 04:50 PM
Command to show OS and system specs? AMDPwred Linux - General 2 10-25-2002 12:48 PM


All times are GMT -5. The time now is 08:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration