hi all I used the following find command to search files
find /tmp -regex ".*some_file"
How I can to search on the same way directories?
Yael
hi all I used the following find command to search files
find /tmp -regex ".*some_file"
How I can to search on the same way directories?
Yael
If I understood your question correctly:
find /tmp -regex "some_dir" -type d