main
HashRenamer
An application to rename files to their corresponding hash. Written in C# 12 / .NET 8.0
Usage
HashRenamer 3.0.0
USAGE:
HashRenamer.dll [OPTIONS]
OPTIONS:
DEFAULT
-h, --help Prints help information
-a, --algorithm <ALGORITHM> Sets the hash algorithm to use
-c, --continue Uses hash parameters from the database file
-i, --directory <DIRECTORY> The directory containing the files to rename
-y, --assume-yes Automatic yes to prompts
-d, --duplicate-behavior <BEHAVIOR> Sets the behavior when encountering a duplicated file
-r, --recursive Includes subdirectories into the enumeration
-t, --trim-hash Trims the resulting hash to the number of characters
-v, --verbose Set output to verbose messages
-q, --quiet Suppresses any message to the standard output
--threads <THREADS> 0 Sets the number of CPU threads to use
--buffer-size <SIZE> 131072 Sets the buffer size for I/O operations
--no-database Disables the database to cache already hashed files
If -i is not specified the user will be prompted for the directory.
Dependencies
- .NET 8.0
- Newtonsoft.Json (JSON serialization / provided by NuGet)
- Spectre.Console (command-line argument handling / provided by NuGet)
License
HashRenamer is licensed under the European Union Public License v1.2
Description
Languages
C#
100%