I want to backup some files using tar in a script... How can I use the current date to 
create the file name?

In other words, I want to script the command: 

#!/bin/sh
tar -zcvf backup_jun18.tgz /some_dir/*

with the date part automatic (the date can be any formats)...

Thanks

Reply via email to