Closed Neinndall closed 1 year ago
This is already supported you just have to place your bin files in same directory and pass directory path.
./ritobin_cli --help master
help called
Usage: ritobin [options] input output
Positional arguments:
input input file or directory[Required]
output output file or directory
Optional arguments:
-h --help show this help message and exit
-k --keep-hashed do not run unhasher
-r --recursive run on directory # <=========
-v --verbose log more
-i --input-format format of input file
-o --output-format format of output file
-d --dir-hashes directory containing hashes
Formats:
- text
- json
- info
- bin
- bin-legacy1
I have a bin in that directory.
You have to provide input and output folder paths i will not do any builtin globing. If you want globing support write a wrapper bash/batch script.
ritobin_cli.exe *.bin %%~na.txt
the "*" to get all the bin files in the directory and "%%~na" to rename them with the name of the bin.