Re: Missing file date
Re: Missing file date
- Subject: Re: Missing file date
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 23 Sep 2003 18:24:30 -0700
On 9/23/03 11:31 AM, "Timothy K. Wilkinson" <email@hidden> wrote:
>
I'm writing a script to go through my server's data drive and delete files
>
that are older then 18 days. Currently I'm just listing them but I hope to
>
have it delete them soon.
>
>
It works fine except for the times that there is no date. It returns a
>
value of "msng". This seems to happen on files that are invisible and have
>
a "." in front of them. I've tried to test for that (see below) but with
>
no success.
>
>
I'm using walk folders from Jon's Commands. I've set it to run without
>
invisibles but I'm getting hung up by the "." files.
>
>
Is there a way to skip over those "." files as well as the invisible ones?
Strange. "msng" is
missing value as string
since missing value is <<class msng>>
So this means that it can't get the creation date of these invisible "."
files, but gets 'missing value' rather than an error. it beats me why it's
coercing 'missing value' to a string, however. When you say it "returns that
value" ("msng") is that strictly accurate (i.e. in a script editor), or are
you asking for it in a display dialog - which would account for the
coercion?
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.