Re: Move a file

2003-12-13 Thread Wiggins d'Anconia
Rob Dixon wrote: Wiggins D Anconia wrote: Depending on what is writing the files, aka another controllable program? I have had good luck with writing the file to a temporary location, usually with a dot on the front, then executing a move from that temp location to the real name. A move is usual

RE: Move a file

2003-12-12 Thread Tom Kinzer
nt: Friday, December 12, 2003 6:37 AM To: [EMAIL PROTECTED] Subject: Re: Move a file > Neill Taylor wrote: > > > > I am writing a script which will poll a directory and then move any files > > in the directory to a new directory dependant upon its name. > > > > The prob

Re: Move a file

2003-12-12 Thread Rob Dixon
Wiggins D Anconia wrote: > > > Neill Taylor wrote: > > > > > > I am writing a script which will poll a directory and then move any > files > > > in the directory to a new directory dependant upon its name. > > > > > > The problem I think I might have is that the script may try to pick > a file > >

Re: Move a file

2003-12-12 Thread Wiggins d Anconia
> Neill Taylor wrote: > > > > I am writing a script which will poll a directory and then move any files > > in the directory to a new directory dependant upon its name. > > > > The problem I think I might have is that the script may try to pick a file > > that is still being copied into the dire

Re: Move a file

2003-12-12 Thread Rob Dixon
Neill Taylor wrote: > > I am writing a script which will poll a directory and then move any files > in the directory to a new directory dependant upon its name. > > The problem I think I might have is that the script may try to pick a file > that is still being copied into the directory whilst the