- cross-posted to:
- linux
- [email protected]
- cross-posted to:
- linux
- [email protected]
TL;DW
# find with grep
# + concatinates results and runs the command once, faster
find . -name "*.txt" -exec grep -l "somename" '{}' '+'
# run a command for each result individually
find . -name "*.txt" -exec basename '{}' \';' | column
# case insensitive
find -iname "SoMeNaMe.TxT
# file or dir
find -type f
find -type d
# define file owner
find -user Bob
# define file group
find -group wheel
# by permission
find -perm 777
# find by size
find -size +1G
Better than the video thank you, I didn’t watch the video
Then you dont know how the video is :D
Not the person above, but I know that written explanations of command line tools are always preferred by myself.
No, no, you just need to seek through the time and copy & paste the text in the video!
Why didn’t I think of that? This is a game changer!
I know it’s 8 minutes long.
Skip to 2:46 how she also mentioned in the description