Hy everybody in the List!
I have a Problem writing a little perl application...
Im a very newbie to programming and need your help :)
The Problem is:
I have a file "dev.txt" and I want to rename it once a day (with a cronjob) like
"dev13092002.txt"
So i need to rename it with a date variable.
All I have at the moment is:
#!/usr/bin/perl
$d = `date`;
$d = /pattern1(pattern2)/;
sytem("cp test.txt test`$d`.txt");
Does anyone of you know how to do that?
THANKS in advance!
| Telematikzentrum D�rrwangen GmbH & Co. KG |
| Im Schloss D�rrrwangen |
| |
| Andreas Kauffmann |
| Tel: 09856/979 48-0 | Fax: -19 |
| [EMAIL PROTECTED] |
| |
PS: Besuchen Sie uns doch mal im Web!
�
> http://www.tzdan.de <
�
Jetzt im neuen Design!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]