Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


lal
  •  lal
  • No customer Topic Starter
2008-05-14T03:09:02Z
I would like to know if it's possible within VisualCron (preferably without adding a script or external program) to delete old files with the following criteria:

1) Search for files to delete within subdirectories of the main directory.
2) To define the file modification date to look for (i.e. only delete files prior to a given modification date.)
3) Using a copy is ok if it can delete the source files.

I don't see a way within VC to look for files by a modification date. If it isn't currently possible, would this be considered for a new feature?
Sponsor
Forum information
Support
2008-05-14T09:38:08Z
I moved this to feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
mikeR
2008-05-28T21:25:34Z
I run robocopy with some parameters in a batch file for this purpose.


lal wrote:

I would like to know if it's possible within VisualCron (preferably without adding a script or external program) to delete old files with the following criteria:

1) Search for files to delete within subdirectories of the main directory.
2) To define the file modification date to look for (i.e. only delete files prior to a given modification date.)
3) Using a copy is ok if it can delete the source files.

I don't see a way within VC to look for files by a modification date. If it isn't currently possible, would this be considered for a new feature?

lal
  •  lal
  • No customer Topic Starter
2008-06-03T09:59:28Z
Thank you, we are using that now.
Support
2008-06-06T08:57:25Z
We are working on a general filter for all kinds of Tasks/Conditions which will be used in version 5 of VisualCron. Currently we are looking at the below values - please tell us if you need anything more or can think of anything more that would be interesting.

# file name filter
* File name inclusion mask - "*?" etc or RegEx
* File name exclusion mask - "*?" etc or RegEx
* Case sensitivity

# file content match
File content in text files - "?*" or RegEx match

# date modified or created filter ( do you need AND? )
* NewerThanDate x - specified date or variable
* OlderThanDate x - specified date or variable

# file size
* larger or smaller than x size

# file attributes
* including a list of attributes
* excluding a list of attributes
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
stuhlpfarrer
2008-06-09T13:55:21Z
besides specifying file date conditions it would be useful if one could specify a file age (days)
e.g purge all files old than 30 days
Support
2008-06-09T14:06:43Z
yes, we are looking at an alternative where you can specify a Variable that will be converted to a date. This way you can use any date value - and being dynamic as well.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2009-01-22T23:23:14Z
This feature is available in the latest beta 4.9.52.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top