Jim Salter wrote:
Use a perl script to fire off rsync. If you need to output the rsync
data as it comes in, you can use the "open" command:
Thanks. The script is written in Bash though, but this gives me a
starting point.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--
Use a perl script to fire off rsync. If you need to output the rsync
data as it comes in, you can use the "open" command:
open FH, "/usr/bin/rsync -avz /foo bar::baz 2>&1 |";
foreach () {
### data parsing occurs here
}
Or if you don't mind waiting to parse the rsync output until rsync is
com