In the words of Dr Cathy Ryan, "If you don't write it down, it never happened".
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
My blog is PERSONAL, and is a repository of the stuff that I learn, play with, enjoy and want to share.
If you follow one of my tips, your mileage MAY well vary - Here be dragons :-)
Wednesday, 15 June 2011
Aide Memoire - Adding the date/time stamp to a filename in a script
I'll be making further use of this later this week, as I look to automate an IBM Tivoli Directory Integrator Assembly Line via a Unix cron job.
I've still got a lot of learning about cron to do, including the use of the crontab command ( for user-specific jobs ) and the /etc/crontab file, and it's associated pals: -
However, as part of my uber cool bash script, I wanted to be able to automatically backup and then copy out a log file. Here we go: -