Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
21 crawler(s) on-line.
 163 guest(s) on-line.
 1 member(s) on-line.


 pixie

You are an anonymous user.
Register Now!
 pixie:  3 mins ago
 CosmosUnivers:  26 mins ago
 Musashi5150:  55 mins ago
 AmigaPapst:  55 mins ago
 RobertB:  1 hr ago
 jPV:  1 hr 14 mins ago
 ppcamiga1:  1 hr 20 mins ago
 matthey:  3 hrs 4 mins ago
 DiscreetFX:  4 hrs 3 mins ago
 djnick:  4 hrs 24 mins ago

/  Forum Index
   /  Amiga General Chat
      /  Get and set file date in an arexx script??
Register To Post

Goto page ( Previous Page 1 | 2 )
PosterThread
Daedalus 
Re: Get and set file date in an arexx script??
Posted on 31-Aug-2014 14:02:13
#21 ]
Super Member
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...

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
Deniil715 
Re: Get and set file date in an arexx script??
Posted on 4-Sep-2014 9:34:11
#22 ]
Elite Member
Joined: 14-May-2003
Posts: 4236
From: Sweden

@Severin

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
Profile     Report this post  
Severin 
Re: Get and set file date in an arexx script??
Posted on 4-Sep-2014 16:52:08
#23 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2740
From: Gloucestershire UK

@Deniil715

Quote:

Deniil715 wrote:
@Severin

Thanks. But I tried with ' in a shell manually and that didn't seem to work..?


Some things only work from scripts. but I don't know why ' didn't work for you unless you used ` instead of '.

What exactly did you try?

_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
Severin 
Re: Get and set file date in an arexx script??
Posted on 4-Sep-2014 16:57:26
#24 ]
Elite Member
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.

_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle