Linux: Unpack a bunch of tarballs or zipfiles...
...or indeed run a batch command on a bunch of files in a directory!?!
$ for z in *.bz2; do tar xvf $z; done
Just replace unzip $z with whatever command you want to run!
Back
...or indeed run a batch command on a bunch of files in a directory!?!
$ for z in *.bz2; do tar xvf $z; done
Just replace unzip $z with whatever command you want to run!