This project follows the semver pro forma and uses the git-flow branching model.
This script blinds files by copying and renaming them with a random set of characters. The script also saves a record in key.csv
for the un-blinding of files.
(v1.1) pkg> add https://github.com/CiaranOMara/Blind.jl
If the blind.sh
script is executable and locatable by your PATH
variable, you can call it by executing blind.sh
at the prompt.
Otherwise, run the script at the prompt with sh blind.sh
or julia blind.sh
.
usage: blind.sh [-s SETS] [-n NUMERIC] [-h] input [output] [key]
positional arguments:
input Input directory.
output Output directory.
key Key file (.csv).
optional arguments:
-s, --sets SETS Number of numeric sets. (type: Int64, default:
3)
-n, --numeric NUMERIC
Number of numeric characters. (type: Int64,
default: 4)
-h, --help show this help message and exit
To make the script executable, grant execution privileges to the bash script.
chmod +x blind.sh
To make the script locatable, link the script under a directory like ~/Documents/Scripts
.
ln -s <path to Blind.jl>/blind.sh ~/Documents/Scripts/blind
Then include the directory in your PATH
variable.
echo 'export PATH=$PATH:~/Documents/Scripts' >> ~/.profile
Note: The example shows how to modify the
PATH
variable in a bash environment.