# Ari Kuswanto
# Rotate file
cd {direktori}
mkdir namefile_$(date -d yesterday +%d%m%Y);
mv $(date -d yesterday +%d%m%Y)* namefile_$(date -d yesterday +%d%m%Y);
cd {directory};
tar -czf namefile_$(date -d yesterday +%d%m%Y).tgz namefile_$(date -d yesterday +%d%m%Y);