• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
how to detect the existence of a file ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to detect the existence of a file ...


  • Subject: how to detect the existence of a file ...
  • From: "Arthur Cormack" <email@hidden>
  • Date: Thu, 25 Oct 2001 15:44:28 -0400

---sorry about the repost

Greetings and Salutations , Applescript Lords and Ladies.

A quick question from a humble squire:

i have created a droplet that renames files - server log files,
based on the dates of the logs in them - and it works quite nicely
... except for when there is/would be a duplicate filename made ...
i need to pre-empt this conflict by checking to see if a file by the
name of the name that we would call the logfile that we are currently
working with exists. And ... if it does ... add a suffix integer to
the filename which indicates which duplication number it is. It will
also check for multiple duplicates by looking at the integer as well.
There is one obstacle that I am having trouble with. How do I check
to see whether or not a file exists?

regards,

and thanks,

arthur cormack
_________________________
producer, interactive
the online group, TVOntario
W:416.484.2600.2010 C: 416.453.4369
E: email@hidden


  • Prev by Date: (no subject)
  • Next by Date: Re: (no subject)
  • Previous by thread: A couple of problems
  • Next by thread: RE: how to detect the existence of a file ...
  • Index(es):
    • Date
    • Thread