6
Let's say I need to find this path /<some_where_in_root>/find/this/path
and the only information I have is /find/this/path
. What would be the best means of locating the full directory?
I basically have a program that creates a directory and after the directory is created I'd like to see if a path now exist within the directory that was created.
So far I've tried find . -type d -name "/find/this/path"
but this obviously interprets /find/this/path
as a string. Is there any way to use find in this situation? Would it be best to just parse the path I have and take the path
portion and do a search on this string?
That's what I thought, but it is now obvious to me that I've been doing it incorrectly. I've tried
find . -ipath "/find/this/path"
– hax0r_n_code – 2013-06-17T02:20:05.750