From 0fb0c0c5ddfdc985cfa9e539185694bac9880776 Mon Sep 17 00:00:00 2001 From: "tlimoncelli@stackexchange.com" Date: Wed, 29 Oct 2014 14:16:47 -0400 Subject: [PATCH] Fix perms --- bin/blackbox_shred_all_files | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/blackbox_shred_all_files b/bin/blackbox_shred_all_files index a8c9ca9..16b8a46 100755 --- a/bin/blackbox_shred_all_files +++ b/bin/blackbox_shred_all_files @@ -3,14 +3,14 @@ # # blackbox_shred_all_files -- shred all decrypted versions of encrypted files # +# NOTE: The output lists files that were decrypted and are being +# shredded. For example, if you have many encrypted files but none +# have been decrypted for editing, you will see an empty list. set -e . _blackbox_common.sh -echo '========== ENCRYPTED FILES THAT WERE UNLOCKED:' -awk <"$BB_FILES" '{ print " " $1 ".gpg" }' - -echo '========== FILES THAT WILL BE SHREDDED:' +echo '========== FILES BEING SHREDDED:' for i in $(<$BB_FILES) ; do unencrypted_file=$(get_unencrypted_filename "$i") encrypted_file=$(get_encrypted_filename "$i")