Wade Preston Shearer wrote:
I have the --progress flag set for an rsync command but I am running it inside a shell script. I ran the script… but it is not printing out the progress in the terminal. I assume that this is because it was called from within the shell script. is there a way to still see the progress?

Maybe you could use `tee` inside your script to split output. As the file you write out to, use the terminal you are on. There has to be a better way ;)

[EMAIL PROTECTED] ~]$ echo "I smell a hack" | tee /dev/pts/0
I smell a hack
I smell a hack

`man tee` for more info

If you don't need the output in your script at all then maybe it would work just sending it without tee...

[EMAIL PROTECTED] ~]$ echo "I smell a hack" > /dev/null

[EMAIL PROTECTED] ~]$ echo "I smell a hack" > /dev/pts/0
I smell a hack


Gabe

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to