Re: disk size manager

2006-04-17 Thread Denny Valliant
Well, I'm not so cool as to whip up an example, but you could easily use Java to interact with the File System. Generally it's quite a bit faster at FS stuff than CF (or BD, I'd assume). Heck, I'll go check for a java directory size example... hrm. found some JNDI: JRun and Sun's JNDI FS

RE: disk size manager

2006-04-16 Thread Turetsky, Seth
:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 3:21 PM To: CF-Talk Subject: RE: disk size manager As someone else mentioned, I think what you need to do is best handled by the OS. You can probably do something with CF, but it's probably going to be time consuming and inefficient. If you're on Linux

RE: disk size manager

2006-04-14 Thread Turetsky, Seth
PM To: CF-Talk Subject: RE: disk size manager ColdFusion 7 has recursion built into cfdirectory I believe. You are correct: http://coldfusioncookbook.com/entry/79/How-do-I-find-the-size-of-a-direc tory? (I just noticed that the cfcookbook as questionmarks in the URLs...weird (as punctuation

Re: disk size manager

2006-04-14 Thread Nathan Strutz
Still, that would be a huge pain to do a cfdirectory then count all the filesizes. yuck! Time consuming, too. What you need is the ability to get into the underlying OS, which probably already knows the amount of space you are taking, and have left. Here, I made a little command-line app for

RE: disk size manager

2006-04-14 Thread Munson, Jacob
As someone else mentioned, I think what you need to do is best handled by the OS. You can probably do something with CF, but it's probably going to be time consuming and inefficient. If you're on Linux, you can use the du command in a script, and call this with cfexecute. I'm not sure if