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:
Requires ImageMagick to be installed; mogrify is the lesser-known sibling to convert -- it overwrites your original images, but allows you to work on batches of files without resorting to a loop.
There are 2 alternatives - vote for the best!
The mogrify command is also part of the ImageMagick suite, and is made to make changes to files in place.
Resize all png in the current folder.
Warning: no copy. Make sure you have a copy of the originals
If you can do better, submit your command here.
You must be signed in to comment.