WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> How to move file by filename order only
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1410966164

Message started by daveb on Sep 17th, 2014 at 5:02pm

Title: How to move file by filename order only
Post by daveb on Sep 17th, 2014 at 5:02pm
Hi there,
I am trying to move files only by file name order eg file1 1st then file2 file3 file4 etc etc..

Can anyone advise
Thanks in advance

Daveb

Title: Re: How to move file by filename order only
Post by Gert on Sep 18th, 2014 at 7:23am
Can you try to explain a bit further?

Are those files created in the correct order?

Title: Re: How to move file by filename order only
Post by daveb on Sep 18th, 2014 at 2:59pm
Yes I have a bunch (500+) of files pushed into a folder for us with time and date in the file name.

We really need to be able to move this in time and date order to another system, so they can be ingested to it.
thanks
Dave

Title: Re: How to move file by filename order only
Post by Pigger on Sep 29th, 2014 at 11:03am
Was there any resolution to this ? The order in which files are copied from one directory to another does not appear to be be based on datetime or filename.

Is the order configurable. I would like it to be by filename.

Thanks

Title: Re: How to move file by filename order only
Post by Gert on Sep 29th, 2014 at 11:18am
It depends on the monitoring method you use:
http://www.watchdirectory.net/wdhelp/help/wdnewconfigpage3.html

The "Fast" method is the only method that will fire events in the correct order (file creation). Note that it doesnt look at the filename to file timestamps to determine the order. Windows notifies WD in the correct order.

Title: Re: How to move file by filename order only
Post by daveb on Sep 29th, 2014 at 11:53am
We are using watchftp connected to a unix ftp server, so we do not have fast polling. We want to move 500 files in date order.

Can this be done.

Thanks

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.