██████ █████ ██████████ █████ █████ █████ █████ █████
▒▒██████ ▒▒███ ▒▒███▒▒▒▒▒█▒▒███ ▒▒███ ▒▒███ ▒▒███ ▒▒███
▒███▒███ ▒███ ▒███ █ ▒ ▒███ ▒███ ▒▒███ ███ ▒███
▒███▒▒███▒███ ▒██████ ▒███ ▒███ ██████████ ▒▒█████ ▒███
▒███ ▒▒██████ ▒███▒▒█ ▒███ ▒███ ▒▒▒▒▒▒▒▒▒▒ ███▒███ ▒███
▒███ ▒▒█████ ▒███ ▒ █ ▒███ ▒███ ███ ▒▒███ ▒███ █
█████ ▒▒█████ ██████████ ▒▒████████ █████ █████ ███████████
▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒ An automation for mass conversions of XLSX and XLS files to CSV. Replacement for a Powershell script that crashed regularly.
The source can be compiled with the following:
cargo build --releaseThe release binary will be located in .\target\release and can immediately be run. A .env file is necessary to provide the script with an input and output folder. All files in the input folder will have a conversion attempted unless otherwise specified in the script. Files with clean errors will be reflected in the neu-xl window -- those with runtime errors (e.g. junk files) have the potential to crash the program.
The .env file can take folders from the same computer or SMB paths. Either way should be structured like so:
IN='\\server\{Excel Conversion - In}'
OUT='\\server\{Excel Conversion - Out}'