cp command - how to show time remaining?
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.