You are not logged in.

#1 2022-11-06 20:36:45

Montenuevo
Member
Registered: 2022-11-06
Posts: 2

[SOLVED] Open find command response via feh

Hello, guys. I use find command searching some images on my PC. I suppressed errors via 2>/dev/null. Now I want to open found images in feh. How can I do it without copy pasting each image manually?
I'd appreciate your help.

Last edited by Montenuevo (2022-11-06 22:47:52)

Offline

#2 2022-11-06 20:47:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Open find command response via feh

man find | less -p "exec command"

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-11-06 22:46:51

Montenuevo
Member
Registered: 2022-11-06
Posts: 2

Re: [SOLVED] Open find command response via feh

I figured it out with the help of the tip I received. Thanks!

Solution:

find . -name "name of the files" -type f 2>dev/null -exec feh {} +

Last edited by Montenuevo (2022-11-06 22:50:01)

Offline

Board footer

Powered by FluxBB