Is there a way to have shutil.make_archive
exclude some child directories, or alternatively, is there a way to append directories to a single archive through shutil
?
Examples are fun:
/root
/workingDir
/dir1
/dir2
/dirA
/dirB
/dir3
Suppose I wanted to create an archive from within workingDir
that included everything except for dirA
-- how could I do this? Is it possible without writing a method to loop through the entire tree?