Delete Unwatched files Using tmpwatch
What is “tmpwatch” Package?
Find and remove files not accessed in a specified time
For more details: https://fedorahosted.org/tmpwatch/
Installation
- Open Terminal by pressing
command+space
then type terminal and hitEnter
key. - Install homebrew first.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
- Install tmpwatch.
brew install tmpwatch
Now, use tmpwatch!