TechNotes
Monday, May 8, 2017
Untar multiple files
Untar multiple files at once then delete them after decompression
create a file
nano untar
#!/bin/bash
# this will untar all files and then delete the tars
for i in *.tar.gz; do tar -zxvf $i; rm $i; done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment