mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
Added quotes to avoid errors due to version of find
Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
LOGS_PATH='/mnt/fedora_stats/combined-http'
|
||||
|
||||
find $LOGS_PATH/20?? -type f -name '*.log' -not -path $LOGS_PATH/`date +%Y`/`date +%m`/* -exec pxz -z -T 5 {} \;
|
||||
find $LOGS_PATH/20?? -type f -name '*.log' -not -path "$LOGS_PATH/`date +%Y`/`date +%m`/*" -exec pxz -z -T 5 {} \;
|
||||
|
||||
Reference in New Issue
Block a user