This is an ARexx exec that moves downloaded Aminet files from
the download directory to subdirectories of this download
directory, according to the original paths. The subdirectory
path is retrieved from the filecomment.
AWeb, the best Amiga WWW browser, attaches such comments to
the files it downloads.
If the subdirectories do not exist before, they are created
automatically.
Existing files with the same name are overwritten.
The base directory where the files are stored and where the
subdirectories are created, must be indicated in the exec
(change line 7).
In AWeb, it is handy to assign a button for the execution of
the exec. It can also be run from a shell or even from the
Workbench.
Version 1.0 was contributed to the AWeb mailing list.
Example
-------
4.Work:Temp> list iris.lha
iris.lha 259908 ----rwed 04-apr-98 18:52:59
: http://www.germany.aminet.org/pub/aminet/comm/mail/iris.lha
1 file - 509 blocks used
4.Work:Temp> AminetReo.rexx
4.Work:Temp> list comm/mail
Directory "comm/mail" on donderdag 30-apr-98
iris.lha 259908 ----rwed 04-apr-98 18:52:59
: http://www.germany.aminet.org/pub/aminet/comm/mail/iris.lha
1 file - 509 blocks used
|