Feature Request: Deleting certain files in all subfolders
#1 OFFLINE
Posted 23 September 2009 - 11:31 AM
I believe CCleaner should capable of searching inside a certain given folder and all its subfolders for files with certain name patterns (such as _cache.tmp, thumbs.db, checklist.ms, catalog??.thumb etc.) and delete them. (Note that these files might have Hidden, System and Read-only attributes.)
Initially, I was of the opinion that this feature is fully-implemented in CCleaner. However, after a discussion in the forum (http://forum.pirifor...post&pid=147199) it was revealed that the implementation is not complete and cannot perform its duty as it is supposed to.
Thanks.
#2 OFFLINE
Posted 05 October 2009 - 08:36 AM
I'm new around here but I'd like to second that request.
Saevam iram, iram et dolorem
#3 OFFLINE
Posted 05 October 2009 - 01:17 PM
You could do that quite quickly on each computer.
Simply do a search for "thumbs.db", delete them all, and then in a Windows Explorer window go to "Tools\Folder Options\View" and scroll down to "Do not cache thumbnails" and check the box.
This will stop them from being created.
How To Get Into Safe Mode | Returnil 2008 | Sandboxie | ERUNT GUI | TestDisk | MiniTool Partition Wizard - Home Edition
#4 OFFLINE
Posted 06 October 2009 - 04:53 AM
---
P.S. About deleting thumb.db files, don't be so suppressive. Same thing can be said about all features of CCleaner. You can always say "There are no need to have this feature because you can have it done by clicking this and that" and suppress a feature request.
Beside, thumb.db files come and go with downloads too. And furthermore, I use lots of shared PCs, most of which have group policies applied and their settings cannot be changed.
Enough said, I think having the bug fix makes lives lot easier, given the many other scenarios that can be implemented.
Saevam iram, iram et dolorem
#5 OFFLINE
Posted 06 October 2009 - 05:13 AM
Quote
Sephiroth you might get better reactions to your suggestions if you didn't post sentences like that.
The thumbs.db 'fix' is one many users have in place on their computers without thinking of it as being suppressive.
This is a suggestions part of the forum, just that. It is not a ''stamp foot I want my suggestion put in place NOW'' part of the forum.
The devs read these suggestions and if they see fit they include it in future builds of this free software.
http://www.piriform.com/docs
#6 OFFLINE
Posted 06 October 2009 - 05:30 AM
There is no stomping or anything, OK? I just like to "second" that request. Just that, OK? (And I guess you didn't read that sentence in its context.)
Oh, and it's not my fault the that this thread is started here. It's that fleetcommand guy's fault.
And I didn't mean anything intrusive or anything, I just supported an opinion. Please don't ban me, OK?
Saevam iram, iram et dolorem
#7 OFFLINE
Posted 06 October 2009 - 05:39 AM
I suggest you do the same and just enjoy the forum.
http://www.piriform.com/docs
#8 OFFLINE
Posted 06 October 2009 - 05:45 AM
But... if write "I want this bug fixed" next time, wouldn't I get kicked?
Saevam iram, iram et dolorem
#9 OFFLINE
Posted 06 October 2009 - 06:09 AM
You report what you see as a bug with evidence to back it up and the devs look into it.
Don't confuse requests and suggestions, with bug reporting.
http://www.piriform.com/docs
#10 OFFLINE
Posted 14 October 2009 - 12:37 AM
I think that instead fighting it's better working:
I like the idea of Deleting certain files in all subfolders. Wise Disk Cleaner does. Why CCleaner doesn't?
I'd like to have a large list of useless files cleaned in all my drive:
*.diz; *.tmp; *.temp; *.chk; *.old; *.gid; *.nch; *.wbk; *.fts; *.ftg; *.$$$; *.err; *.---; *.~*; ~*.*; *.??$; *.___; *.log; *.~mp;*._mp; *.dmp; *.prv;
*.sik; thumbs.db; CHKLIST.MS; *.ilk; *.aps; *.ncb; *.pch; *.obj; *.$db; *.?$?;...
And many more. Note those files like .ncb and .obj: they are temporary or intermediate files of visual studio. Not many people have them, but most developers will.
Sot it would be nice to specify this large list in "include" folder "c:\", and have them removed from the whole drive, not only in "c:\"... I could do a patch: edit the .ini file adding all the paths of my projects, and for each path add those file types... but again, it's a partial and not elegant solution. Better add a recursive search of all desired files in a folder, and add a check box if you don't want recursivity. I am a software developer and I know it is not hard. I wrote some similar code in VC++, I think you only need CFileFind class.
Let me know if you implement it!
Manuel.-
#11 OFFLINE
Posted 25 November 2009 - 05:07 AM
It's the original poster of this topic, Fleet Command.
I just wanted to thank the developers for having implemented this feature. Thanks a bunch, developers! Keep up the good work!
#12 OFFLINE
Posted 25 November 2009 - 05:18 AM
FleetCommand@live.com, on Nov 25 2009, 05:07 AM, said:
It's the original poster of this topic, Fleet Command.
I just wanted to thank the developers for having implemented this feature. Thanks a bunch, developers! Keep up the good work!
Did they do? When? How? I tried latest version (October 26th) and still incomplete: you can delete selected files in a folder, but it won't include sub-folders. Or you can delete sub-folders, but will delete ALL files...
#13 OFFLINE
Posted 25 November 2009 - 07:21 AM
http://forum.pirifor...showtopic=24100
http://www.piriform.com/docs
#14 OFFLINE
Posted 26 November 2009 - 05:38 PM
The following winsys2.ini code works like a charm:
[Thumbs.db files on Drive K] LangSecRef=3002 Default=False FileKey1=k:\Images|Thumbs.db|RECURSE FileKey2=k:\Images|Checklist.ms|RECURSEAlso these two topics are in fact the same thing. I started both. I started the to which you have linked, in which moderator Andavarki advised me to open a case here and so I did.
In any case, the message is meant for the developers. In the code of conduct of us developers, he who requests a feature is obliged to thanks the developer when it is implemented.
#15 OFFLINE
Posted 28 November 2009 - 06:03 PM
[Thumbs.db files on Drive K] LangSecRef=3002 Default=False FileKey1=k:\|Thumbs.db|RECURSE FileKey2=k:\|Checklist.ms|RECURSE
So, the root of the drive cannot be specified for cleanup but when your target is a single subfolder, you can.
Conclusion: Thanks developers, but please, keep up the good work!
#16 OFFLINE
Posted 30 November 2009 - 08:27 AM
FileKey1=k:\.|Thumbs.db|RECURSE
FileKey2=k:\.|Checklist.ms|RECURSE
The searchpath (the part before the first |) is supposed to not end on a backslash. For some reason just k:|Thumbs.db|RECURSE does not work but the syntax above does the job.
I did some testing on that issue and as far as I could figure it is fully implemented now.
Thanx to the devs and bug fixers!
regards,
Mike
#17 OFFLINE
Posted 03 December 2009 - 01:36 PM
By the way, don't you find recursion mechanism to be a bit slow? I find my own C# application to be faster. I hope developers will take look into this issue.
#18 OFFLINE
Posted 03 December 2009 - 01:57 PM
fleet.command@live.com, on Dec 3 2009, 01:36 PM, said:
Btw: Why the new account? Did your old one get banned?
#19 OFFLINE
Posted 04 December 2009 - 03:17 AM
fleet.command@live.com, on Dec 3 2009, 01:36 PM, said:
Humm.... Yes, I will be very happy if it works, but the question is how to use it. For example, if I want to delete *.tmp; *.pdb; *.pch from c:\users and its subfolders, how would you write it?
#20 OFFLINE
Posted 04 December 2009 - 09:23 AM
Manuel S., on Dec 4 2009, 03:17 AM, said:
[Damn temp files] LangSecRef=3002 Default=True FileKey1=c:\users|*.tmp|RECURSE FileKey2=c:\users|*.pdb|RECURSE FileKey3=c:\users|*.pch|RECURSEBig surprise? You might also take the time and read the documentation page, especially this one: ( http://docs.piriform.com/ccleaner/advanced...leaner-to-clean )












