Terminology

find . List all files in current directory and its subdirectories.

find -exec <command> definition: 'Execute a command on the matches.'
ety: ''
variants: '''{}'' indicates the match. Terminate with ''\;''.'

find -maxdepth <n> Set maximum directory depth for search.

find -mindepth Set minimum directory depth for search.

find -name "<pattern>" Find objects with a name matching the pattern.

find <path> Find using the given path as the starting point.

find -type f Find files only.

Facts, Thoughts and Opinions

Deleting Unix files with strange names

Use ls -i to get the inode number of the file, then use find to remove the file with the inode number.

$ ls -i
435304 aa?b
$ find . -inum 435304 -delete

Images

[[/div]]
  •   Subtopics

  •   Writings

  Sources & Bookmarks