From 3ed3fbac97e3988992b73da683a6e17e81f127ae Mon Sep 17 00:00:00 2001 From: rafd Date: Tue, 15 Mar 2022 16:57:04 +0000 Subject: [PATCH] --- .../Remove_unused_content_from_S3_special_remote.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Remove_unused_content_from_S3_special_remote.mdwn diff --git a/doc/forum/Remove_unused_content_from_S3_special_remote.mdwn b/doc/forum/Remove_unused_content_from_S3_special_remote.mdwn new file mode 100644 index 0000000000..84dc69bbf8 --- /dev/null +++ b/doc/forum/Remove_unused_content_from_S3_special_remote.mdwn @@ -0,0 +1,11 @@ +I've made a small mess of things and hoping I could get some advice to clean things up. + +I was experimenting with using a special remote (backblaze over s3). I had it synced to a repo, working fine, but then I wanted to re-use the bucket for another repo (and I removed the annex-uuid file so I can re-init -- I realize now that there is a better way). + +I'm in a situation now where the bucket has: + - all the content for my current repo + - content from my previous repo (unencrypted, but unwanted by me) + +Is there a way to tell git-annex to "remove all files/keys from the special remote that aren't in my current repo"? + +I tried "git annex unused --from=backblaze", but this finds nothing.