Python or Java or "X" from me and my little job

Magnus L. Hetland mlh at idt.ntnu.no
Sun Sep 12 09:51:21 EDT 1999


Ben <bthomas at trey-industries.com> writes:

> I am new to Linux. I have Python 1.5.2 up and working. I want to have
> Python grab some files, ZIP them, and FTP them offsite. I will let CRON
> start the job every night. Since I am just getting to look at Python, I
> wanted to ask to make sure I don't pick the wrong tool for the job.
> 
> 
> 1)Am I selelcting a good tool to get light weight sys admin jobs done?

Well... If it is a light weight sysadmin-job, maybe a simple shell
script would do it? (Then you could move it to Python if it grew...)

I mean - if the set of files is fixed (or given as a command-line
argument) I guess this thing you are talking about could be done in
two lines in any standard shell (assuming that you have a good ftp
client like ncftp.)

--

  Magnus
  Lie                                     Please forward all spam to
  Hetland                                                uce at ftc.org




More information about the Python-list mailing list