Created
March 16, 2017 17:05
-
-
Save eckardm/99a935b17fb9974696d744d8a5c7d130 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _archive_zip(self, src, dst): | |
"""Return the command that creates the ZIP archive file.""" | |
if not dst.endswith('.zip'): | |
dst += '.zip' | |
return (dst, [ | |
'7z', 'a', # Add | |
'-bd', # Disable percentage indicator | |
'-tzip', # Type of archive | |
'-y', # Assume Yes on all queries | |
dst, # Destination | |
src, # Source | |
]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, this worked great. Now in qa/0.x. artefactual/archivematica-storage-service#173