I had a question, I was able to do this today, but I was wondering if there's an easier way to do this via terminal.
I was looking for a Gimp file I had worked on some time ago and couldn't remember what folder I had put it in. So I ran an ls -R | grep .xcf to find the gimp file, but that didn't give me the full working directory.
I then tried to use find (which is what worked) on the directory where I had limited it down to being:
find | grep shattered
Is there a way I could have used find to find the file in the first place giving me the full directory path instead of having it go through countless folders in the root of my home folder to find the file. ls -R | grep xcf gave me an idea of where it was at due to the other files that were grouped together that I knew were in the pictures folder.
I'm new with find specifically, but I don't mind using it as I have a general area of where it's located. I just feel I can use it more efficiently in my searches.