hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delet folder in directory if its les then 5k

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Monitoring Tasks
View previous topic :: View next topic  
Author Message
Shu



Joined: 07 Mar 2007
Posts: 2

PostPosted: Wed Mar 07, 2007 12:23 am    Post subject: Delet folder in directory if its les then 5k Reply with quote

Im very new to this and have searched all of over how would I go about deleting folder if its less then 5kb
Back to top
View user's profile Send private message
melvin
Site Admin


Joined: 25 May 2006
Posts: 595
Location: Santa Barbara, california

PostPosted: Wed Mar 07, 2007 6:17 am    Post subject: Reply with quote

1) Create a File Monitor task
source folder = folder to monitor and delete
Task to run = [enter delete task title]
Select opion to run task if total file size in folder is less than 5 kb


2) In the delete task, only empty subfolders can be deleted.

filename field = leave blank (this will delete all files in the folder. the sum of these file sizes is less than 5 kb from 1 above.)

source folder - should be the parent folder of the folder you want to watch & delete.

folder filter - enter the folder name

select the option to delete empty subfolders.
Back to top
View user's profile Send private message Send e-mail
Shu



Joined: 07 Mar 2007
Posts: 2

PostPosted: Wed Mar 07, 2007 8:23 pm    Post subject: Reply with quote

This doesnt work
ok this is what i have
I have a dir c:\download
I want any folder not file in that dir that is less then 5k to be deleted
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Mar 08, 2007 10:14 am    Post subject: Reply with quote

hmm.. there is no delete/make folder task so your only option if you are using Automize Pro or Ent version is to create a custom script task.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Monitoring Tasks All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group