Find limit search depth

I wanted to find some files inside sub directory of current folder. To do this, find have maxdepth option.

This command will limit search depth to current directory and all first level sub folders.

See find

Leave a Reply

Your email address will not be published. Required fields are marked *