How would I do a script, that I can hardcode 6 paths, and have all the files in those paths, be deleted if older than 30 days?
Thanks, Tim
Delete Files Older than 30 days
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Delete Files Older than 30 days
What I would do is...
1) Create a Find Template, that searches those locations for items older than 30 days.
2) Use LoadSearch and Delete in a script to automate the task. Such as:
1) Create a Find Template, that searches those locations for items older than 30 days.
2) Use LoadSearch and Delete in a script to automate the task. Such as:
Code: Select all
"Delete TooOld"
LoadSearch("TooOld", "rel");
Focus("List");
Sel("a");
Delete(1,1,":list");
XYplorer Beta Club