Re: Finding recently modified files in subdirectories

2003-07-30 Thread Stephen Moretti
I'm looking for a way to find all files that were modified in a directory and it's subdirectories. The trick is that it has to be very fast, and ColdFusion MX has to be able to talk to it. Has anyone found such a solution? Look at CFDirectory. This returns a query set with one of the

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Michael T. Tangorre
Calvin, I am working on somethign in C# that does something similar. Basically I am listening to a directory to see when files are created, deleted, edited, etc... It writes the results to an XML file. I am still quite a ways away from being done, but you are welcome to it when I am done. You'll

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Calvin Ward
10-15 seconds. :) - Calvin - Original Message - From: Stephen Moretti [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 6:43 AM Subject: Re: Finding recently modified files in subdirectories I'm looking for a way to find all files that were modified

RE: Finding recently modified files in subdirectories

2003-07-30 Thread webguy
And you can use a QoQ on the result Select * From mydirectoryresult Where dateLastModified = yourcondition WG -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 11:43 To: CF-Talk Subject: Re: Finding recently modified files in subdirectories I'm

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Stephen Moretti
PROTECTED] Sent: Wednesday, July 30, 2003 11:51 AM Subject: Re: Finding recently modified files in subdirectories Stephen, CFDirectory fails the speed consideration, when enumerating sub directories it isn't fast enough, especially when you can't count on Windows 2000 delivering a last modified

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Michael T. Tangorre
: Wednesday, July 30, 2003 7:29 AM Subject: Re: Finding recently modified files in subdirectories Ok... How about CFExecute with dir /s /t:w /o:D /A:-D | FIND 30/07/2003 You probably going to need to tinker with this to get exactly what you want and you're still going to have to parse

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Calvin Ward
recently modified files in subdirectories Calvin, I am working on somethign in C# that does something similar. Basically I am listening to a directory to see when files are created, deleted, edited, etc... It writes the results to an XML file. I am still quite a ways away from being done

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Calvin Ward
] Sent: Wednesday, July 30, 2003 7:04 AM Subject: RE: Finding recently modified files in subdirectories And you can use a QoQ on the result Select * From mydirectoryresult Where dateLastModified = yourcondition WG -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED

RE: Finding recently modified files in subdirectories

2003-07-30 Thread Craig Dudley
I have a java cfx which resurses through directories and returns a cf query object, it's very similar to cfdirectory apart from the recursion, you can have the code if you want, it shouldn't be that hard to get it to simply not return any files/directories that have not been modified since a date.

RE: Finding recently modified files in subdirectories

2003-07-30 Thread webguy
To: CF-Talk Subject: Re: Finding recently modified files in subdirectories Actually that's what I did to achieve my current speed. The problem is that Windows 2000 doesn't update modified dates on parent directories of a directory that has a file change event within it :( - Calvin - Original

RE: Finding recently modified files in subdirectories

2003-07-30 Thread Hugo Ahlenius
to work on win2k | 3) has to be fast, goal is roughly 10-15 seconds. | | :) | | - Calvin | | - Original Message - | From: Stephen Moretti [EMAIL PROTECTED] | To: CF-Talk [EMAIL PROTECTED] | Sent: Wednesday, July 30, 2003 6:43 AM | Subject: Re: Finding recently modified files in subdirectories

RE: Finding recently modified files in subdirectories

2003-07-30 Thread S . Isaac Dealey
Message- | From: Calvin Ward [mailto:[EMAIL PROTECTED] | Sent: Wednesday, July 30, 2003 12:52 | To: CF-Talk | Subject: Re: Finding recently modified files in subdirectories | | | Stephen, | | CFDirectory fails the speed consideration, when enumerating | sub directories | it isn't

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Pablo Varando
-- --- | -Original Message- | From: Calvin Ward [mailto:[EMAIL PROTECTED] | Sent: Wednesday, July 30, 2003 12:52 | To: CF-Talk | Subject: Re: Finding recently modified files in subdirectories | | | Stephen, | | CFDirectory fails