LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-03-2013, 06:33 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Smile Sorting images by resolution


I have a lot of images that I am trying to sort out jpg,png,tif,bmp all in their own folders, but what I want to accomplish is to sort by resolution. Tried both Thunar and Dolphin, but it sorts only by file size, and not really by resolution. Can that even be done? The details mode shows file size, date, but I still can't figure out how to get any kind of file manager that has that option , or maybe I missed something.

Any ideas?
 
Old 11-03-2013, 06:35 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
You could probably write a shell script that uses resolution information from ImageMagick's identify utility.
 
Old 11-03-2013, 06:44 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by volkerdi View Post
You could probably write a shell script that uses resolution information from ImageMagick's identify utility.
Yea you're right, I am afraid my shell scripting skills are a bit .....rusty , though
 
Old 11-03-2013, 06:46 PM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Pretty sad, I am going to steal someone else's script thats how bad my shell scripting is...

http://superuser.com/questions/17562...-on-resolution

*buries face*
 
Old 11-04-2013, 02:03 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Fresh pie tastes best when stolen from the window sill where it cools.
 
Old 11-04-2013, 04:48 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by Jeebizz View Post
Pretty sad, I am going to steal someone else's script thats how bad my shell scripting is...
*buries face*
There was a joke, long time ago:
a teacher knows what to teach, the professor knows where is the teacher....

You should only know how to find good scripts, almost everything has been implemented already...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting images by dimension in Fedora 11 thezerodragon Linux - Newbie 9 11-13-2009 10:12 PM
Why so complicated? Replace DVD/CD install images with USB images browny_amiga Linux - General 4 09-21-2009 02:08 PM
Span debian CD images into DVD images Christopher2222 General 3 09-01-2008 11:25 AM
C++/SDL: Images moving too slowly. Images loaded once, etc. Why? RHLinuxGUY Programming 2 05-26-2007 05:11 PM
how to select only images with given resolution? Sammael Linux - General 6 10-18-2006 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration