Displaying 1 result from an estimated 1 matches for "vctzer".
2007 Aug 14
1
Rsync on Mac OS X
...echo -n "-- Parsing $i"
if [ ! -s .pending_files ];
then
echo "Pending:" > .pending_files
fi;
if [ $(grep -c "$i" .pending_files) = "0" ];
then
echo "$i" >> .pending_files
echo "sending $i"
rsync -vctzER -e ssh --timeout=600 --progress
"$i" "$out"
if [ "$?" = "0" ];
then
echo "$i" >> .sent_files
else
echo -n "-- File $i transfer failed" | logger
grep -v "$i" .pending_files >
.pending_fil...