#!/bin/bash pushd ${HOME} > /dev/null if [ -d .m2 ]; then tar cf - .m2 fi popd > /dev/null