linux invalid filename fix
detox -r -v /path/to/your/files # -r Recurse into subdirectories # -v Be verbose about which files are being renamed # -n Can be used for a dry run (only show what would be changed)
Here is what the above code is Doing:
1. It’s looking for files that have a space in the name
2. It’s replacing the space with an underscore
3. It’s saving the file with the new name