Merge pull request 'fix: ingore root folder' (#5650) from tmp/talos into main
Reviewed-on: #5650
This commit was merged in pull request #5650.
This commit is contained in:
@@ -22,8 +22,8 @@ data:
|
|||||||
echo ">> Backups prior to '$DATE_RANGE' will be removed";
|
echo ">> Backups prior to '$DATE_RANGE' will be removed";
|
||||||
echo "";
|
echo "";
|
||||||
|
|
||||||
FILES=$(s3cmd ls --no-check-certificate ${BUCKET}/cl01tl/etcd/ |
|
FILES=$(s3cmd ls --no-check-certificate "${BUCKET}/cl01tl/etcd/" | \
|
||||||
awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}');
|
awk -v file_match="$FILE_MATCH" '$4 < file_match && $4 !~ /\/$/ {print $4}')
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "";
|
echo "";
|
||||||
|
|||||||
Reference in New Issue
Block a user