copy at terminal with progress bar.
Hi...
after searching i cant find script that can deal with directories all the found scripts work file to file and not directory to directory someone know script that can deal with all this situation? |
Quote:
Are you trying to copy whole directories from one location to another? Try "cp -R <source> <destination>". Look at the man page for CP, to see all the options. |
Hi ...
i know that cp -r [source] [destination] is to copy libraries. what i want that after that progress bar appear and show % complete, estimate time... |
anyone?
|
It would help to show an example of the scripts you have found...
If they are doing a progress bar in the terminal, I assume they are using something like dialog for the display. |
...
......
Quote:
|
What is the code that actually makes the progress bar?
But--as for the original question--instead of using "stat" to get the file size, I'm guessing you'll want something like du (unless there's a stat option that does the same thing) |
All times are GMT -5. The time now is 12:02 PM. |