untar several tar.gz files

import os
import glob

folder = './wav'

for i in glob.glob(folder + "/" + "*.tar.gz"):
#print(i)
os.system("sudo tar xvf %s -C untar" %(i))

posted on 2021-08-12 23:21  cdekelon  阅读(29)  评论(0编辑  收藏  举报

导航