Auto deleting files older than 24hours
Auto deleting files older than 24hours
I have a temp folder that i wish to keep files that are only 24 hours or less. Anything older i wish to delete. Is there any way of accomplishing this? This folder gets enormous and manually pruning this is a pain. Is there a command line that can be done to solve this?
Auto deleting files older than 24hours
See the example named "[DEMO] Clear Temporary Folder" (find it in "Complex" folder)
You can get this task here
Also look at a bit modified task here.
These tasks removes files older than 7 days. I think you are able to modify the task for your purposes.
You can get this task here
Also look at a bit modified task here.
These tasks removes files older than 7 days. I think you are able to modify the task for your purposes.
Auto deleting files older than 24hours
Thanks Oleg for the super quick response man mucho appreciated!
Auto deleting files older than 24hours
Hi Oleg I tried the task you gave me and unfortunately it deleted everything as opposed to just files older than 7 days. What am i doing wrong?
Auto deleting files older than 24hours
You have to change the task a bit.
- Open the task in task editor
- Go to Step 5 (file loop) and open it in editor
- go to "Date filter" tab
- change "Older than 7 days" to "Older than 1 day" or "Older than 24 hours"
- save the step and save the task
- Open the task in task editor
- Go to Step 5 (file loop) and open it in editor
- go to "Date filter" tab
- change "Older than 7 days" to "Older than 1 day" or "Older than 24 hours"
- save the step and save the task
Auto deleting files older than 24hours
Hi Oleg i tried this and it deleted all files regardless of date. I am using version 3.2.1 does this make a difference?
Auto deleting files older than 24hours
In your case set the date filter to "Older than 1 day"