summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2012-04-18 15:05:52 -0700
committerSage Weil <sage@newdream.net>2012-04-18 15:05:52 -0700
commit17d4afca1c84f5471c2824876099fef456a3209d (patch)
tree075e49b34528a4081dbaf904d9786712b41ed786
parent06379c3881ec4f4975bc1a30becb8ce3773d01d2 (diff)
downloadceph-object-corpus-17d4afca1c84f5471c2824876099fef456a3209d.tar.gz
add prune-archive.sh
-rwxr-xr-xbin/prune-archive.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/prune-archive.sh b/bin/prune-archive.sh
new file mode 100755
index 00000000..42b356b2
--- /dev/null
+++ b/bin/prune-archive.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -d archive ] || exit 1
+
+for d in archive/*/objects/*; do bin/prune.sh $d ; done \ No newline at end of file