mIRC Homepage
Posted By: feud $file().atime - 24/06/04 07:43 PM
i'm writing a script to move some files from my external hdd to my internal one, and i want to move files i've only accessed within a variable period of time. the script will know what time frame when it is running, and looks at $file().atime. however, whenever mirc does a lookup on the file's last access time, it appears to be exactly when i look up the $file().atime. any workarounds/suggestions?
Posted By: feud Re: $file().atime - 24/06/04 08:56 PM
ok, i found that my $findfile command was accessing the file and changing the access time, and worked around that. my next problem (well, not really a problem, just an inconvenience) is that $ctime seems to only accept english date order (day/month/year). am i correct in thinking that?
Posted By: starbucks_mafia Re: $file().atime - 24/06/04 11:31 PM
Yep, looks like it. At least it's a simple alias to convert between the two: alias dateConv return $deltok($instok($$1,$gettok($1,2,47),1,47),3,47)
Posted By: feud Re: $file().atime - 25/06/04 12:45 AM
yeah, thanks
© mIRC Discussion Forums