ed to
'rename' which I should have been more explicit about. A rename merely
moves the starting inode, assuming the file is staying on the same
partition, which in this case if the temporary file is written into the
same directory then it is...
Occasionally you can move
a file while it is
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
the front, then executing a move from
> that temp location to the real name. A move is usually a single action
> (at least that's my understanding) and for most filesystems is merely a
> single inode update. Then just have the directory watcher skip dot
> files... Though the lock would
> 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
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
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 application is
still trying t