Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Perl Q: how to check if a file is "busy"
- Date: Wed, 26 Jun 2002 13:57:20 +0900
- From: "Jean-Christian Imbeault" <jean_christian@example.com>
- Subject: [tlug] Perl Q: how to check if a file is "busy"
I wrote a very simple perl program to mv some files around. But unfortunately it cannot tell when a file it is tryig to "mv" is currently being written to and shouldn't be moved until it is no longer bing written to. I've had a look at Perl's flock but it didn't quite seem to work. What are some mechanisms I can use to wait until a file is "free" before mv'ing it? Are there any system calls I could us that do this? Jc _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
- Follow-Ups:
- Re: [tlug] Perl Q: how to check if a file is "busy"
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] subscribe-to-cabal
- Next by Date: Re: [tlug] Tomcat and Cocoon 2.9
- Previous by thread: Re: [tlug] subscribe-to-cabal
- Next by thread: Re: [tlug] Perl Q: how to check if a file is "busy"
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links