mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 03:45:25 +01:00
build: improve beta tidy script
This commit is contained in:
parent
4e4feebf0a
commit
0c4ed35b9b
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
version="$1"
|
version="$1"
|
||||||
if [ "$version" = "" ]; then
|
if [ "$version" = "" ]; then
|
||||||
echo "Syntax: $0 <version> [delete]"
|
echo "Syntax: $0 <version, eg v1.42> [delete]"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
dry_run="--dry-run"
|
dry_run="--dry-run"
|
||||||
@ -14,4 +14,4 @@ else
|
|||||||
echo "Use '$0 $version delete' to actually delete files"
|
echo "Use '$0 $version delete' to actually delete files"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rclone ${dry_run} --fast-list -P --checkers 16 --transfers 16 delete --include "**/${version}**" memstore:beta-rclone-org
|
rclone ${dry_run} -P --fast-list --checkers 16 --transfers 16 delete --include "**${version}**" memstore:beta-rclone-org
|
||||||
|
Loading…
Reference in New Issue
Block a user