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 commands removes space from all the files with specific extension. I've specifed *.jpg as an example.
There are 7 alternatives - vote for the best!
This command will replace spaces in filename with underscore, for all file in directory that contain spaces.
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.