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:
Changing a file extension to a new one for all files in a directory.
There are 4 alternatives - vote for the best!
The 'rename' command with the first argument as "'s/\.//'" and the second argument as "" will remove the specified extension from the filenames.
If you can do better, submit your command here.
You must be signed in to comment.