Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 10-19-2003, 10:56 AM   #1
Pharaoh
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 117
Post [REQ] Auto-delete script

I am in need for a script which will automatically delete old releases from a dir (and its' subdirs) when this dir (including its' subdirs) reach a specific size.

For example:
let's say I have the following dirs:

DIR1
--SUBDIR1
----CD1
----CD2
--SUBDIR2
--SUBDIR3

and I want that the total size of DIR1 (including all the other subdirs, and CD1/CD2) not exceed 10g.
I need a script which will check all the subdirs below DIR1 for the oldest release and delete it to free enough space so the total size will never exceed 10g.

Thanks in advance for any assistance!
Pharaoh is offline   Reply With Quote
 

Tags
dir1, script, size, subdirs, total


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM
Send commands to a running FlashFxp. mag123 General Discussion 0 08-01-2004 04:14 AM


All times are GMT -5. The time now is 04:45 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)