A simple bash script that zips a folder and sets the archive name to the current date.
#!/bin/bash
# Archive name structure: ddMMYYYY_HHmmss.zip
archiveName=`date +%d%m%Y_%H%M%S`.zip
folderName=MyFolder
zip -r $archiveName $folderName
A simple bash script that zips a folder and sets the archive name to the current date.
#!/bin/bash
# Archive name structure: ddMMYYYY_HHmmss.zip
archiveName=`date +%d%m%Y_%H%M%S`.zip
folderName=MyFolder
zip -r $archiveName $folderName