untar multiple archives into thier own folders linux command code example
Example 1: untar multiple archives into thier own folders linux command
for file in *.tar.xz; do tar -Jxf "$file"; done
Example 2: untar multiple archives into thier own folders linux command
for file in *.tar.gz; do tar -zxf "$file"; done
Example 3: untar multiple archives into thier own folders linux command
for file in *.tar.bz2; do tar -jxf "$file"; done