• 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
Re: Regarding the "info for" command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding the "info for" command


  • Subject: Re: Regarding the "info for" command
  • From: Jolly Roger <email@hidden>
  • Date: Fri, 09 Feb 2001 15:45:25 -0600
  • Replyto: email@hidden

on 2/9/2001 2:51 PM, Robert Seckendorf (email@hidden) wrote:

> I am trying to set up a script to run on a remote server. The script will
> perform some action on files added to a folder. The problem I am dealing
> with is that I don't want to invoke the script until all the files in the
> receiving folder are completely copied into the folder.

Then you probably want to check to see if any files in the folder are busy
by checking to see if the filetype of any file is "bzy ". If any file has
that file type, you can bet a copy is in progress, and the folder's contents
are incomplete.

I've only had this technique fall short on very slow machines where there is
a significant time delay between file writes.

HTH

JR


References: 
 >Re: Regarding the "info for" command (From: Robert Seckendorf <email@hidden>)

  • Prev by Date: Re: Regarding the "info for" command
  • Next by Date: Re: Metamorphosax! (1.0a1 lives!)
  • Previous by thread: Re: Regarding the "info for" command
  • Next by thread: Re: test for a finished file copy (was: Regarding the "info for" command)
  • Index(es):
    • Date
    • Thread