0

Unpack all of the .tar.bz2 files in current directory

for FILE in *; do tar -jxf $FILE; done

October 17, 2011versorge

Explanation

  • for: begins the loop syntax in Bash.
  • FILE: can be any variable name you create.
  • do: this is the action you're going to tell Bash to perform on each pass of the loop.