Cmd.gs

my digital notepad

cmd: find

July 13, 2020 — cmcipriano

some useful find commands.

Remove all empty files $: find . -size 0 -delete

Remove all .DS_Store files $: find . -name '.DS_Store' -type f -delete

Remove all files that are more than 30 days old $: find . -ctime +30

Tags: terminal-commands