0

I would like to find some software that runs in the background that detects when a specific drive's free space goes below a certain threshold and then cleans out any files matching a specific criteria (mainly age)

Would anyone know any free tools that would do this?

  • It is not particularly difficult to write a script to do this using AutoIt. Is such a tool acceptable? – Chenmunka Jun 7 '16 at 8:41
1

It does not exactly fall under your specifications because as far as I know it cannot delete files based on age but WinDirStat will show you your drives and where the space is being taken up, along with file types. It has an advanced feature called cleanups where you can specify commands to automatically clear files.

WinDirStat

  • Please edit your original question and add this as a second option. – rrirower Jun 7 '16 at 15:08
  • I did not ask a question I provided multiple answers, as per this and this. Keeping multiple answers separate so votes can be cast for individual recommendations. Having two recommendations in one answer in my opinion, makes little to no sense and goes against how the voting system works. – Ryan89 Jun 7 '16 at 15:16
  • yeah I love these kinds of programs, I use RidNacs: Disk Space Usage Analyzer | Freeware - SplashSoft.de for that, it's great. However, the scenario I'm talking about is something completely different (I have a ramdisk - so small, only 100mb, where I output a ton of temporary HTML files from the program I'm developing.These add up quickly, so it would be nice to delete them to free space on a constant basis, while leaving the most recent files intact so I can still reference them) – ycomp Jun 7 '16 at 16:17
  • Ah, in that case I don't know of a software that does specifically that, however like the comment on your question says, your best bet may be to write a script that runs in the background and deletes files from X directory if the file is older than X days or similar. – Ryan89 Jun 7 '16 at 16:35
1

CCleaner can automatically scan your computer and remove old cached system files, log files, browser files and several other programs and file caches. It can also preform registry cleanup, manage startup programs and many other tools.

CCleaner

  • What do you mean by automatically? Where can I set a disk limit so that it runs? – Thomas Weller Jun 7 '16 at 21:30
  • 1
    @ThomasWeller In the Options -> Monitoring, you can enable System monitoring. Some of the advanced features are locked in the free version but they will let you select an amount of space and to prompt for a cleaning or to automatically clean. – Ryan89 Jun 7 '16 at 21:51
  • FYI: Microsoft officially says not to use CCleaner as it can sometimes cause problems in the registry. Sorry I don't have a link to that statement right now. – Bulrush Jun 8 '16 at 12:50
  • I always preform a registry backup before using the registry cleaner. If you manage to find the article I would be interested in reading it. – Ryan89 Jun 8 '16 at 12:58
0
  • Open a cmd window go to the root dir, and use del *.bak /s. It deletes files matching that filespec in all subdirs.
  • The same works for *.~, tmp*, tmp*.*, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.