From: bigmike160 Date: Mon, 10 Sep 2007 17:25:54 +0000 (+0000) Subject: apache-sync-logs: Use rsync -a since we don't need all those options after all X-Git-Url: https://git.hcoop.net/hcoop/scripts.git/commitdiff_plain/0c49919ac255dce7e886974424a77288dae09f9f apache-sync-logs: Use rsync -a since we don't need all those options after all --- diff --git a/apache-sync-logs b/apache-sync-logs index 602efbc..b0e007b 100755 --- a/apache-sync-logs +++ b/apache-sync-logs @@ -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 \ - -- 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