search for: curr_q_num

Displaying 1 result from an estimated 1 matches for "curr_q_num".

2011 Apr 20
4
files not moved immediately to final destination from temp location after rsync returns with success
...turns with success the name of the file that has to be pulled by the first call is updated and the cycle continues. In case either of the rsync calls fail, the script starts with the first rsync call. <snippet of the script> while : do # get the name of the command file to pull next. CURR_Q_NUM=get_counter REMOTE_Q_FILE="${CURR_Q_NUM}.txt" LOCAL_Q_FILE="${Q_FOLDER}/${CURR_Q_NUM}.txt" # update the source and destination for rsync client SRC=$OPT_RSYNC_USER_NAME@ $OPT_RSYNC_DEV_NAME::$RSYNC_Q_MODULE/$REMOTE_Q_FILE DEST=$LOCAL_Q_FILE rsync --upda...