Created
December 1, 2021 14:22
-
-
Save jarkkojs/d611e14efaab7b527d9e80d58b0b8306 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
import sys | |
from zipfile import ZipFile | |
with ZipFile(sys.argv[1], 'r') as zip_file: | |
filename_list = zip_file.namelist() | |
for filename in filename_list: | |
print(filename) | |
if filename.endswith('.mp4'): | |
zip_file.extract(filename, sys.argv[2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment