Ubuntu Pastebin

Paste from e at Wed, 7 Jan 2015 13:31:48 +0000

Download as text
1
2
3
4
5
6
#!/bin/bash
zip  -r /home/backupSerenia/backup_`date +'%F'` /home/bungeecord
#ls -l /home/backupSerenia /home/backupSerenia/backup_last.zip
if [ -f /home/backupSerenia/backup_`date +'%F'`.zip ]; then
	rm /home/backupSerenia/backup_`date -d '6 day ago' +'%F'`.zip;
fi
Download as text