AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/mkfscript.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Makes *ix scripts for ncftp from file index
Author: uairk at mcl.mcl.ucsb.edu
Uploader:uairk mcl mcl ucsb edu
Type:util/cli
Architecture:m68k-amigaos
Date:1994-08-07
Download:util/cli/mkfscript.lha - View contents
Readme:util/cli/mkfscript.readme
Downloads:612

This was a quick little program to take something like the aminet index file and
produce a script I could run from my *ix account at school that would use ncftp
to retrieve a group of files in the background so that I could go about my usual
business and at the end of the day I'd have stuff to take home :) Writing the
scripts by hand was ridiculous- so I wrote it in REXX- this was slow so I redid
it in C and went nuts adding options and making it a little more generalized - I
also managed to keep it as ANSI as possible so that it _should_ compile and work
on standard *ix machines as well albeit without the file-description options.
For some reason even compiling with gcc and "-fwritable-strings" (thanks boing) 
doesn't help with the descriptions.  Obviously I don't do enough in C or I'd 
figure out the problem :)

urm... using: Just do something like

grep -i stuff INDEX | mkfscript -s ftp.cdrom.com:/pub/aminet stuff.sh

if you have it running on a *ix machine - if you have it only on your Amiga box
then use "pipe" or 

grep -i stuff INDEX > stuff.index
mkfscript ftp.cdrom.com:/pub/aminet stuff.sh

Read the documentation for other options and so on. mkfscript handles quite
a few ways of getting information to and from.

 - Eric.
   uairk@mcl.mcl.ucsb.edu
   04AUG94


Contents of util/cli/mkfscript.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x   786/23          0       0 ****** -lhd- 0000 Aug  5  1994 mkfscript/
-rw-r--r--   786/23       9002   14276  63.1% -lh5- 7093 Aug  5  1994 mkfscript/mkfscript
-rw-r--r--   786/23       2500    7779  32.1% -lh5- 8f48 Aug  5  1994 mkfscript/mkfscript.c
-rw-r--r--   786/23       2807    6603  42.5% -lh5- d9fe Aug  5  1994 mkfscript/mkfscript.man
-rw-r--r--   786/23        766    1434  53.4% -lh5- 82c2 Aug  5  1994 mkfscript/readme.mkfscript
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   15075   30092  50.1%            Aug  6  1994
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>