Hi,

/tmp/main$ find . -path '*/tmp*'
/tmp/main$ find /tmp/main -path '*/tmp*'
/tmp/main


The above commands show that -path match the whole path (/tmp/main)
rather than the relative path ('.'). Is there a way to always use the
relative path so that both of the above commands returns nothing?

-- 
Regards,
Peng

Reply via email to