Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterrry authored Mar 10, 2021
1 parent f0b8117 commit 1d6e9fb
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ Encrypts files via the AES symmetric cipher.
Secured with two passwords.

Commands:
- en – encrypt current directory
- en f <file> – encrypt exact file
- en <arguments> – encrypt with smart filters
- de – decrypt current directory
- de f <file> – decrypt exact file
- de <arguments> – decrypt with smart filters
- enfile <file> – encrypt exact file
- en <arguments> – encrypt current dir with arguments
- defile <file> – decrypt exact file
- de <arguments> – decrypt current dir with arguments
- revoke – delete saved password data
- help – display this help
- cd – change directory to default
Expand All @@ -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
Expand All @@ -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

0 comments on commit 1d6e9fb

Please sign in to comment.