From 1d6e9fb7cc51cd8e89e004cec663f5ee5e5f6f0a Mon Sep 17 00:00:00 2001 From: Aydar Date: Wed, 10 Mar 2021 18:33:53 +0300 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index fbd5d3b..a061690 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,10 @@ Encrypts files via the AES symmetric cipher. Secured with two passwords. Commands: - - en – encrypt current directory - - en f – encrypt exact file - - en – encrypt with smart filters - - de – decrypt current directory - - de f – decrypt exact file - - de – decrypt with smart filters + - enfile – encrypt exact file + - en – encrypt current dir with arguments + - defile – decrypt exact file + - de – decrypt current dir with arguments - revoke – delete saved password data - help – display this help - cd – change directory to default @@ -20,8 +18,8 @@ Commands: - st – display propeerties of current directory Arguments of commands de/en: - - all/only – reset filter queue - - none – filter all files + - all – reset filter queue + - none/only – filter all files - sizes – apply to all sizes of files - -sizes – filter all sizes of files - types – apply to all file types @@ -42,9 +40,6 @@ Arguments of commands de/en: - -t – filter text files - N, where N is an index of file in selected folder – apply to N file in selected directory - X..Y, where N is an index of file in selected directory – apply to all files from X to Y (including) in selected directory + - 'NAME', where NAME is a file name (w/o extension) -Note about smart filters: one should build queue from the least important filter, to the most. The last filter will always apply the last. -For example, queue `only m l p -l` will at first reset filter (only), thus passing every file, then selecting medium sized files (m), large files (l) and pictures (p), and deselecting large files at the end (-l). '-l' filter stays after the 'l', thus disabling it. - -Another example: queue `p a v sizes -b all` makes no sense, as 'all' filter as the end will disable all previous, and every file will be passed. -So, if we remove it, the queue will look like this: `p a v sizes -b`, selecting all pictures (p), audios (a) and videos (v), and all sizes of files except big ones (sizes -b). We can make it even better, by passing `types -t sizes -b`, selecting all file types except text ones, and all sizes except big ones. +Note about smart filters: file names and intervals have the biggest privelege