1 2 3 4 5 6
#!/bin/bash BASENAME=$(dirname $0) cd $BASENAME/../ tar -xzf skel.tgz --strip-components=1