From 415b55b1c7d2069c4be0154a9e133abd33578726 Mon Sep 17 00:00:00 2001 From: "tlimoncelli@stackexchange.com" Date: Sat, 20 Jun 2015 14:56:00 -0400 Subject: [PATCH] Document that register supports many files --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b6f8747..3215799 100644 --- a/README.md +++ b/README.md @@ -287,6 +287,17 @@ How to enroll a new file into the system? blackbox_register_new_file path/to/file.name.key ``` +Multiple file names can be specified on the command line: + +Example 1: Register 2 files: + + blackbox_register_new_file file1.txt file2.txt + +Example 2: Register all the files in `$DIR`: + + find $DIR -type f -not -name '*.gpg' -print0 | xargs -0 blackbox_register_new_file + + How to remove a file from the system? ============================