I'd like to make a .7z archive of my website using 7zip; there are a few directories that contain large files (several gigabytes) not worth backing up, as I already have backups of them. I could specify to backup only specific files or directories, but I'm planning on making a script to do this for me, and it'd be a bit annoying to keep updating the script to include new files, file types, and directories. I can't find for the life of me anything in the documentation about excluding directories; only files. What's the simplest way to go about doing this?
The command I used earlier (before I had large files to avoid) was simply
7z a backup.7z *
done in the working directory.