This is picture_namer written in Rust. This prepends the directory name to each specified filetype along with a 5 digit number starting at "00000" eg: <directory_name>_<xxxxx>_<filename>
. If there are already files with the <directory_name>_<xxxxx>_<filename>
naming format in the directory then the script will count these files to prevent simultaneous use of the same numbers in the new filename. If there are more than 99999 files then the script will add more leading zeros. Spaces are changed into "_". Specified filetypes can be read from a text file or specified via the command line.
I've only tested this using Windows 11, cargo 1.59.0, and Rust 1.59.0.
walkdir = "2.3.2" time = "0.3.7"
Contains the code.
A list of filetypes supported by the program.
This builds the debug and release binaries along with the documentation.