CLI progress bar for mv and cp command???
is there any way to get some kind of progress indication when using the CLI for both the mv and cp commands?
i am looking for something that looks and or acts like the -h for an rpm. IIRC rpm -ivh or -Uvh will either install/update, verify, and give a #### indicator of its progress. that would be very nice and handy when moving large files (50M plus) across the LAN or even just from one location on the system to an other. thanks for the help. |
A few days ago I was thinking of the same thing, so I have kinda bumped this thread to find out if there is a solution out there.
|
I came up with this example using dialog --guage from the net . I modified it abit to come up with the second example.
Code:
#!/bin/bash Code:
#!/bin/bash |
Thanks. I gotta learn some shell scripting, it would make system administration much easier for me. :)
|
Scripting is one of those things I call "Miserable Fun" .
It can make you pull hair out and it can give you a feeling of accomplishment. Also, it's worth noting those examples don't actually do anything. :) |
All times are GMT -5. The time now is 01:49 PM. |