How do I echo dots to show the user that a script is executing and progressing? Example: in a shell script I copy a bunch of files from one directory to another. This takes awhile, so it would be nice to echo dots to show the user something is happening.
Copying files . . . . . . . . . . . . .
Done!
Where the dots line would grow as the copying progresses. I've searched Google, but can't find anything on this. I'm thinking it involves a while loop. I'd prefer to do this in sh, ksh, or bash.
Copying files . . . . . . . . . . . . .
Done!
Where the dots line would grow as the copying progresses. I've searched Google, but can't find anything on this. I'm thinking it involves a while loop. I'd prefer to do this in sh, ksh, or bash.