LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cp command - how to show time remaining? (https://www.linuxquestions.org/questions/linux-newbie-8/cp-command-how-to-show-time-remaining-563726/)

jjamesis 06-22-2007 10:37 AM

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.

bigrigdriver 06-22-2007 11:19 AM

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


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