Console utility to find and delete file clones based on file hashes.
Run bladerunner
using Java.
java -jar bladerunner.jar [COMMAND] [OPTIONS]
Copies all unique files to output directory.
Usage: bladerunner run [OPTIONS]
Options:
-din, --directory-in DIRECTORY Path to root directory of input
-dout, --directory-out DIRECTORY
Path to output directory
-ns, --naming-strategy [DEFAULT|DATE_MODIFIED|PHOTO_TAKEN]
Naming strategy for created files
-o, --out FILE Path to output file
-s, --silent Do not log activity
-f, --flatten Copy all files into out directory without
saving directory tree
-h, --help Show this message and exit
Files named using its date and UUID. Date is calculated differently for different naming strategies provided.
DEFAULT
obtains original file name.DEFAULT
is default fallback behaviour.DATE_MODIFIED
obtains file last modified date.PHOTO_TAKEN
obtains photo taken date from file EXIF if possible, uses fallback otherwise.
Random UUID string is added as file name suffix if there's file with same file name in output directory.
Deletes all non-unique files from given directory.
Usage: bladerunner clean [OPTIONS]
Options:
-din, --directory-in DIRECTORY Path to root directory of input
-o, --out FILE Path to output file
-s, --silent Do not log activity
-h, --help Show this message and exit
Prints information if it's clone or not about all files in given directory.
Usage: bladerunner find [OPTIONS]
Options:
-din, --directory-in DIRECTORY Path to root directory of input
-o, --out FILE Path to output file
-h, --help Show this message and exit