This is probably an easy one, but I can't figure it out and it's pretty much not searchable. In a folder hierarchy I have exactly one file of type xyz. I want to find that file and open it with a terminal command.
find . -name *.xyz
This will return the file I'm looking for. Now how do I open it automatically, without typing the name?
find . -name *xyz | open
This doesn't work. It says it doesn't found the open command.