open (CORE, "/usr/bin/rsync $rsyncOPT --progress $outbox $inbox |"); while () { # code } #### local $/="\r";