Skip to navigation

Gustavo Saiani

Gustavo Saiani

Software, finance, books, painting, psychology

  • Home
  • Return to Content

March 30, 2016

Resizing images by percentage, in batch, from the command line

In Mac OS.

Imagemagick does the trick. I use homebrew, so:

brew install imagemagick

To resize all images in a given folder to 50%:

for f in *; do convert $f -resize 50% $f; done

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

  • Software
  • Comments Off on Resizing images by percentage, in batch, from the command line
  • gusaiani

Post navigation

Replacing spaces for underscores in batches of files
Colemak in iOS Simulator

Recent Posts

  • A personal take on interviewing programmers
  • Participating in Daily Standups
  • Carta da Parceria de Investimentos – 2018
  • My Year In: Books
  • My Year in: Software Development

Archives

  • 2019
  • 2018
  • 2017
  • 2016
  • 2015

Categories

  • Books
  • Coffeescript
  • Elixir
  • Ember
  • Entrepreneurship
  • Finance
  • Graphic Design
  • Investing
  • Javascript
  • Management
  • Painting
  • Phoenix
  • Productivity
  • Psychology
  • React.js
  • Recruiting
  • Ruby on Rails
  • Shell
  • Software
  • Webpack

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy