Merge pull request #42 from jrodriguezjr/master
List files that BlackBox is tracking
This commit is contained in:
@@ -61,7 +61,8 @@ BB_FILES_FILE="blackbox-files.txt"
|
||||
BB_FILES="${KEYRINGDIR}/${BB_FILES_FILE}"
|
||||
SECRING="${KEYRINGDIR}/secring.gpg"
|
||||
PUBRING="${KEYRINGDIR}/pubring.gpg"
|
||||
: ${DECRYPT_UMASK:=o=} ;
|
||||
: ${DECRYPT_UMASK:=0022} ;
|
||||
# : ${DECRYPT_UMASK:=o=} ;
|
||||
|
||||
# Return error if not on cryptlist.
|
||||
function is_on_cryptlist() {
|
||||
|
||||
13
bin/blackbox_list_files
Executable file
13
bin/blackbox_list_files
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# blackbox_list_files.sh -- List files that black box is tracking
|
||||
#
|
||||
set -e
|
||||
blackbox_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
source ${blackbox_home}/_blackbox_common.sh
|
||||
|
||||
echo -e "\nFiles currently managed my Blackbox:\n"
|
||||
cat $BB_FILES
|
||||
|
||||
echo
|
||||
Reference in New Issue
Block a user