commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
This command will replace spaces in filename with underscore, for all file in directory that contain spaces.
There are 4 alternatives - vote for the best!
This commands removes space from all the files with specific extension. I've specifed *.jpg as an example.
all files in the directory get moved, in doing so the new name of the file is the original name with out spaces (using translate command)
If you can do better, submit your command here.
You must be signed in to comment.