by crabsand · 7mo ago · 0 comments
Yesterday I noticed I still don't know how to write
ls | where modified < ((date now) - 3wk) | each { |fn| rm $fn.name }
in zsh after all years. find . -type f -mtime +21 -delete
Or if you have fd fd -t f --changed-before 3w -X rm