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
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
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
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
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
: 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
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
]
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
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.
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
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
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
--
---
| -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
13 matches
Mail list logo