thanks for the hint though! i like the 'watch' trick very much
]]>Anyway, here's an example of how I'd do it
sudo pacman -Sy > tmp.txt 2>&1 & watch -n 1 'grep -i connect tmp.txt'
Output from 'watch':
Every 1.0s: grep -i connect tmp.txt Sat Jan 7 14:10:22 2006
Connecting to ftp.archlinux.org|207.44.190.41|:21... connected.
Connecting to ftp.archlinux.org|207.44.190.41|:21... connected.
Connecting to ftp.nethat.com|69.64.39.21|:21... connected.
So you'd do:
rsync [parameters] > [output file] 2>&1 & watch -n 1 'grep -i [what you want to search for] tmp.txt'
HTH.
]]>im trying to use rsync for Archie hd-install, and display its progress via --progress option. however, the output is TOO verbose - the progress is shown for each file being copied... any ideas how to reduce the output without patching the program, or just displaying last 2 lines of the progress output?
thanks in advance.
]]>