mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 18:34:41 +01:00
18 lines
453 B
Plaintext
18 lines
453 B
Plaintext
|
#!/bin/sh
|
||
|
# Use this script after a release to tidy the betas
|
||
|
|
||
|
version="$1"
|
||
|
if [ "$version" = "" ]; then
|
||
|
echo "Syntax: $0 <version> [delete]"
|
||
|
exit 1
|
||
|
fi
|
||
|
dry_run="--dry-run"
|
||
|
if [ "$2" = "delete" ]; then
|
||
|
dry_run=""
|
||
|
else
|
||
|
echo "Running in --dry-run mode"
|
||
|
echo "Use '$0 $version delete' to actually delete files"
|
||
|
fi
|
||
|
|
||
|
rclone ${dry_run} --fast-list -P --checkers 16 --transfers 16 delete --include "**/${version}**" memstore:beta-rclone-org
|