You are not logged in.
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
man find | less -p "exec command"Offline
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