Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] What is the most appropriate scripting language



> 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

Home Page Mailing List Linux and Japan TLUG Members Links