---- List all tgz files and untar them and put into specified single directory
for file in `ls -1 mig_proxy.cdr.06_JAN_2012.*`;do tar zxvf $file -C temp/ ; done
Here temp is where the extracted files will be placed ..
for file in `ls -1 mig_proxy.cdr.06_JAN_2012.*`;do tar zxvf $file -C temp/ ; done
Here temp is where the extracted files will be placed ..
No comments:
Post a Comment