Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Windows XP has a rather useful file search facility. I can search multiple folders, partitions and drives for jpg files and sort the results by size, name, date etc. That much I can also do in Linux. With XP I can also open a picture viewer and scan through the images in the sorted order. If there is a way to do that in Linux, I haven't found it yet. Every Linux viewer I have tried so far, looks only at the folder of the file I viewed first. Just at this time the XP behaviour would be very useful. Any suggestions?
The benefit of gui software is that I can usually muddle through to a satisfactory result without learning many of the details of the application. The problem with the command line is that every letter, dot, dash and comma has to be right and the man pages are almost useless for new users. Can you give me an example command to get me started?
Beware of filenames with special characters, you could run into trouble with those 2 commands...
I suggest (please note I don't use feh myself so it's only theory here applied to your previous post):
Code:
for file in Pictures/*beach*; do echo "$file"; done | feh
find Pictures/ -iname "*beach*jpg" -print0 | xargs -0 feh
find Pictures/ -iname "*beach*jpg" -exec feh "{}" \;
My thanks to both of you. Consider the problem solved as of now. For the benefit of other possible readers, I want to write more but I'm a bit pressed for time just now. I will come back later.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.