Video Demo: https://www.youtube.com/watch?v=j8HY4FUUE9w
Do you use the command line a lot? Are you tired of spaces and/or capitalization in your files that you have to waste precious keystrokes to put quotes around or hold the shift key? NoSpace might be for you!
I built this script as my final project for Harvard's CS50P, Introduction to Programming With Python.
pip install nospace
example usage
nospace -p test_directory -c lower -d 1 -o files -s -
usage: nospace [-h] [-d DEPTH] [-c {lower,title,upper}] [-o {both,files,folders}] [-s SEPERATOR] [-p PATH]
rename files in bulk to remove spaces
options:
-h, --help show this help message and exit
-d DEPTH, --depth DEPTH
maximum depth of folders to traverse
-c {lower,title,upper}, --case {lower,title,upper}
case of the renamed files and folders (lower, title, or upper)
-o {both,files,folders}, --objects {both,files,folders}
objects to process (files, folders, or both)
-s SEPERATOR, --seperator SEPERATOR
separator to replace spaces with (default is _)
-p PATH, --path PATH optional file path to start with
This repo is licensed under the permissive MIT license. You can do whatever you want with it.