Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Normal Behaviour' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Normal Behaviour
Authored by: stormer on Sep 20, '02 09:37:28AM

This is normal behaviour when copying files in the Finder. I have used this in Applescript applications to detect when a file that has been copied into a folder has finished copying. By checking that the file type is not "bzy ", you can determine whether the file has finished copying.
Obviously the process which was meant to change the file type to the correct type at the end of the transfer did not get a chance to change it from "bzy " and thus you are left with a busy file unable to be deleted.





[ Reply to This | # ]
Using 'bzy' for file locking
Authored by: chuck99 on Sep 20, '02 05:46:23PM

That is a cool tidbit. I wonder if the 'bzy' file type could also be used for file locking. Since Mac OS X does not have a way to lock files while they are in use, the 'bzy' file type appears to be a possible solution. Whadyathink?



[ Reply to This | # ]