I'm trying to set a script to let me know what WordPress files have been modified in the last 3 days, but I get a huge list of every site's backups when I just run:
find /var/websites -mtime -1
How do I exclude all directories with the word
backup in them? An example of a path that I'd like to exclude is
/var/websites/com.site1/backup and all of its subdirectories.