Skip to content

CiaranOMara/Blind.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blind.jl

Run tests

This project follows the semver pro forma and uses the git-flow branching model.

Overview

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.

Installation

(v1.1) pkg> add https://github.com/CiaranOMara/Blind.jl

Usage

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

Optional (Unix like systems)

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.

Releases

No releases published

Packages

No packages published