Hi,
I tried try this rclone purge Safe:MBP/.* or rclone delete Safe:MBP/.* to remove files beginning with a dot on a crypt volume sitting on the remote side. I did a mistake writing my filter (I forgot to activate dry-run) and now, I must pay for it by manually deleting them one by one as it's not, surprisingly, that easy deleting files in a row with rclone. I'm not a shell-script Ninja as I can't write any script under 2 minutes to automate things quickly.
Already, I have an issue listing only items beginning with a dot at the root of the crypt volume. Inserting --include '\.' still lists everything. How do I ask rclone listing only items beginning with a dot at the root.
I'd like to find the right option combination to remove those directories beginning with a dot at the root of the listing. I don't want to remove recursively dot files inside other folders.
I tried as many combinations as possible using --max-depth 1 and --include with the latter defined as follows: /.* or /.*/ or .*/
Let's express myself in REGEX. If I want to remove what I want:
rclone delete --max-depth 1 --include "\..*/"
That would be so much logical for me, but not understandable by rclone.