in reply to Monitor directory for new files and copy only new files to another directory

hey this is an awesome idea :)
but, why are you only interested in just .mpg? why dont you copy any other file type that gets dropped into this directory? something like this would work great if you could setup a server to copy or upload the files to automatically.
  • Comment on Re: Monitor directory for new files and copy only new files to another directory

Replies are listed 'Best First'.
Re^2: Monitor directory for new files and copy only new files to another directory
by Anonymous Monk on Oct 10, 2014 at 20:52 UTC

    This is a local RAID drive on a Mpeg capture system. We do archive the files on network storage but that is manual process done by staff at their convenience. I am trying to monitor the capture folder for new captures and then just copy the file to a QC workflow watch folder.I have a software called "Second Copy" doing this now but it sort of does the same thing my Perl script does. Except it copies the entire list of mpg files every time there is a file/s change. So I am just trying to get a simple script that will copy only newly captured files to a network folder.