From the notes of a system administrator
My Sysadmin notes and a few other topics
Thursday, June 07, 2012
Extract each archive into its own directory
Assuming the archives are all bzipped archives with .tbz2
for i in `ls`; do a=`basename $i .tbz2`; mkdir $a; cd $a;tar -xvf ../$i;cd ..; done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment