From 4bb103ef433cb6efb27790cd88ae6ff9a46ddab7 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 23 Jun 2020 16:44:42 +0100 Subject: [PATCH] build: speed up tidy-beta script by doing fewer directory traversals --- bin/tidy-beta | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/tidy-beta b/bin/tidy-beta index 0514fec40..48f26ffeb 100755 --- a/bin/tidy-beta +++ b/bin/tidy-beta @@ -14,4 +14,7 @@ else echo "Use '$0 $version delete' to actually delete files" fi -rclone ${dry_run} -P --fast-list --checkers 16 --transfers 16 delete --include "**${version}**" memstore:beta-rclone-org +rclone ${dry_run} -vv -P --checkers 16 --transfers 16 delete \ + --include "/${version}**" \ + --include "/branch/${version}**" \ + memstore:beta-rclone-org