
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] What is the most appropriate scripting language
- Date: Mon, 15 Jan 2007 13:35:23 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] What is the most appropriate scripting language
- References: <45AAFDA9.90504@example.com>
- User-agent: Thunderbird 1.5.0.8 (X11/20061107)
> If I were working on that *other* operating system, I would accomplish
> the following task with a .bat file.
If you already have such a batch file it should be trivial to convert to
linux. Think of bash as a superset of DOS. However the below sounds
complex enough that I'd personally do it in PHP; it might take you a few
hours getting up to speed on php and combing the manual for the
functions you need, and 30 minutes to write it the 2nd time.
Someone will probably post a 174-character one-line perl script that
does just what you need (unless you include understanding it as part of
"need" ;-).
Darren
> 1. Append some information to the top of some text files. Mainly a
> timestamp.
>
> 2. Bundle all the files into a tar file.
>
> 3. Upload the files to a number of different FTP sites.
>
> 4. If possible: email the tar file to one or more email addresses.
Home |
Main Index |
Thread Index