kde-head Posted March 18, 2004 Share Posted March 18, 2004 Requirements: ImageMagick (urpmi imagemagick should install it for you) If you have a directory of large jpg images that you want to mass thumbnail down to say , 120 pixel wide thumbs, just issue to the following command from the konsole: ls -1 *.jpg | sed "s/\(.*\)\.jpg/\1.jpg \1_thumb.jpg/" |xargs -n 2 convert -resize 120 -quality 100 -compress JPEG This creates 120 pixel wide thumbs of your images , all with the extension "_thumb.jpg" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now