Quote:

Code:
 
RioSYNCout=$(rsync \
$OPTS \
--empeg-progress \
--stats \
--times \
--recursive \
--delete \
--copy-unsafe-links \
--exclude=config.ini \
--exclude=lost+found \
--exclude='\.*' \
$RSYNCSERVER::empeg/drive? / ) || die 8 "Oops - RSYNC error $?"




Having rsync started within $( ... ) is responsible for forking off a subshell. It might be this subshell that is hanging.

Your drives are mounted read/write when you rsync. Why don't you just redirect the output to a file? This will save an extra process.

Pim