[H-GEN] quick question
Craig Eldershaw
celdersh at parc.xerox.com
Tue Aug 21 12:12:04 EDT 2001
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]
Hi Martin,
>is there an easy way to create a directory containing a date, or time.
>or maybe a file, for example a file called full.etc.[DATE].tgz
>
>or mkdir backup[DATE]
Something like:
mkdir Backup-`date "+%y-%m-%d"`
should do you. The same use of `` will work for tar etc as well, so
tar -czf /Backup-`date "+%y-%m-%d"`.tgz /ImportantStuff
is possible too.
Cheers,
C.
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list