Skip to content

Tool: GNU Findutils

Powerful directory search and file locating capabilities

  • find
  • locate
  • updatedb
  • xargs

find: Searches a Directory Tree

file with an extension (e.g., svg)

find . -name \*.svg

special characters

  • \: provides escaped character (delaying wildcard character *)
  • *: is a wildcard character, indicating anything can be acceptable

file within a range of dates

find -newermt "2022-12-01" ! -newermt "2022-12-31"

special characters

  • !: denotes "not"

combined use

find -name \*.svg  -newermt "2022-12-01" ! -newermt "2022-12-31"

add more content