Find Commands: Difference between revisions
From Cramsession
Jump to navigationJump to search
✍️ Verified Author: Mflavell • Click to view professional profile & credentials
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
=Files in current folder modified today= | =Files in current folder modified today= | ||
find . | find . mtime -1 type f printf "%f\n" | ||
''''-1 can be changed to another value to o back further'''' | ''''-1 can be changed to another value to o back further'''' | ||
Revision as of 14:24, 30 August 2024
Files in current folder modified today
find . mtime -1 type f printf "%f\n"
'-1 can be changed to another value to o back further'
Recursive find
find . -iname "fidnme*"
Find a file that starts with name_
find . -type f -name "name_*"