pushd `dirname $0` cd .. sudo docker build --tag backupper ./docker/backupper sudo docker run -t --volume $(pwd):/data backupper /bin/sh -c 'ls -1tr /data/backups | grep caidx' popd