Find

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Usage

Case Insensitive Search

find . -iname ...

Control Descend Depth

find . -maxdepth n

Configure find to descend at most n directory levels below the command line arguments. -maxdepth 0 limits the whole search to the command line arguments.

Time Constraints

Find all files modified less that 2 days ago

find . -mtime -2