Am 2005-02-26 22:29:38, schrieb Christian:
> Hallo,
> 
>  kann mir jemand auf die schnelle sagen wie ich in einem Shellscript
>  das/die aktuelle datum/uhrzeit auslesen kann?
> 
>  Ich m�chte vom prinzip ein backupscript schreiben dass das /etc/
>  verzeichnis im vormat etc--<YYYY-MM-DD>--<HH-MIN>.tar.bz2 speichert.

meine_tolle_logdatei-`date "+%Y-%m-%d_%H-%M"`.tar.gz

> Vielen Dank
> Chris

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Antwort per Email an