how to find files in current directory only (not recursively)
hi
how to find the files using find command in current directory only without searching recursively inside the directories. |
I think setting -maxdepth 1 should do it, if I understand your question correctly.
|
thanks
it works but i dont understand the output when -maxdepth is set to zero [bala@localhost ~]$ find -maxdepth 0 . what does the . (current directory ) signify.i expect the output to be nothing. |
All times are GMT -5. The time now is 04:30 PM. |