Can you at least modify the behavior of "7z a foo.7z" so that 7z doesn't automatically add the archive to itself? Here's the behavior of dar, which also defaults to automatic archiving of the current directory: $ dar -c archive WARNING! The archive is located in the directory to backup, this may create an endless loop when the archive will try to save itself. You can either add -X "archive.*.dar" on the command line, or change the location of the archive (see -h for help). Do you really want to continue?...