#!/bin/bash for i in *.tar*; do tar -xvf "$i"; done