I've been tasked to update a few of our sites and so, before doing so, I have to zip the public_html folder so I have a backup.
Problem is, public_html has a bunch of other ZIPs that are older backups that I don't want to delete in case my backup fails or for some other reason, we need to go back 2-3 backups.
But, since they are there and get caught in every backup, the backup file grows and grows because it contains basically every single previous backup within it.
So is there a way to tweak the zip command line call so it gets all files, except any .zip or .gzip file it finds?