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))
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))