> On 31 Dec 2014, at 4:08 am, jan i <[email protected]> wrote: > > Hi > > Peter made 2 excellent scripts in external, to retrieve and populate > external. > > The idea is brilliant but the are .sh files (requiring bash) so the users > need cygwin or similar installed, that is a dependency I would NOT like to > have. > > I thought the scripts was very simply and easy to convert to .cmd files, > but my command line dos knowledge is somewhat (read: a lot) rusty. > > Could one of you with windows systems, please have a look at the scripts > and create a "pure" windows variant ?
One of the difficulties here is you need both an external program to retrieve files via HTTP/FTP (the scripts use wget) and to unzip the files. I don’t think either are available on windows. An alternative may be a Python script; functions for doing these are available in the standard library. Windows PowerShell may have these capabilities, but I’m not familiar with it. — Dr Peter M. Kelly [email protected] PGP key: http://www.kellypmk.net/pgp-key <http://www.kellypmk.net/pgp-key> (fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966)
