Find/Search

Find a file per name in current directory:

find . -iname 'FILENAME'

Find files in current directory by modified:

# Last 1.5 days
find . -mtime -1.5
# Last 5 minutes
find . -mmin -5
# After Date
find . -newermt "yyyy-mm-dd"
# Between Dates/Times
find . -newermt 'yyyy-mm-dd HH:mm' ! -newermt 'yyyy-mm-dd HH:mm'

Find a file per size in current directory:

# With Specific Size
find . -size 512k
# With min Size
find . -size +512k

Find a file with content:

find . -exec grep -n 'SEARCHPATERN' {} /dev/null \;

Retrieved from "$'"1"