apache-sync-logs: Use rsync -a since we don't need all those options after all
authorbigmike160 <bigmike160>
Mon, 10 Sep 2007 17:25:54 +0000 (17:25 +0000)
committerbigmike160 <bigmike160>
Mon, 10 Sep 2007 17:25:54 +0000 (17:25 +0000)
apache-sync-logs

index 602efbc..b0e007b 100755 (executable)
@@ -34,7 +34,7 @@ for A in $(find $LOCAL_LOG_DIR/user -mindepth 3 -maxdepth 3 -print); do
         echo "Error: $LOG_DEST does not exist, please make it"
     else
         k5start -qtU -f $KEYTAB_DIR/$USER \
         echo "Error: $LOG_DEST does not exist, please make it"
     else
         k5start -qtU -f $KEYTAB_DIR/$USER \
-            -- su $USER -c "rsync -rlptOgoD $A/apache/log/ $LOG_DEST/"
+            -- su $USER -c "rsync -a $A/apache/log/ $LOG_DEST/"
         [ "$VERBOSE" = "true" ] && echo "  done."
     fi
 done
         [ "$VERBOSE" = "true" ] && echo "  done."
     fi
 done