Source

perl-begin / temp / get-arc-name.sh

Full commit
1
2
3
4
5
6
7
#!/bin/bash
if [ ! -e last_date ] ; then
    echo "$(date +%Y-%m-%d)" > last_date
    echo -n 0 > rev
fi
echo "Perl-Beginners-Site-$(cat last_date)-rev$(cat rev).tar.gz"