Sure. Assuming you are using version 3.4 here are the steps you can make to script such processing 1. Today - to get today's date 2. SubDir -- to get the list of directory names 3 LoopWhile -- to loop through found dir names 4. FileDate -- to get date of a file/directory 5. isLess [file date], [today] go delete step (7) 6. skip step 7 and go to step 8 7. DirDelete - delete dir and all contained files/directories 8. END of LoopWhile : Is there a simple way using JAL to remove directories older than today from a : certain path?
|