Joined: 14-Jul-2003 Posts: 1680
From: Glasgow - UK, Irish born
@Severin
Recursive stuff in Amiblitz is easy for cycling through directories, I've had to do that myself when I found that the List command didn't like brackets. Basically, the steps are:
- Make a function that takes a directory as an argument. This function should do whatever needs to be done for the files it finds. - Make the function call itself with the argument of whatever directory it finds. - Call the function from your main code with the starting directory as the argument.
I can probably give you done skeleton Amiblitz code if you need it to make your own filename cleaning tool...
I just tested MultiRen and in v1.71 you can actually select directories only and perform action as if they were filenames. That saved me from having to manually rename 100+ directories with [] in them
_________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft.
Status: Offline
Severin
Re: Get and set file date in an arexx script?? Posted on 4-Sep-2014 16:52:08
Joined: 19-Aug-2003 Posts: 2740
From: Gloucestershire UK
@Daedalus
Thanks. I'll hassle you if I ever need something like that. at the moment I use list and cygnused macros to create custom scripts, sometimes the rep command from aminet too.