Special
February 22, 2015, 1:11pm
1
I want CCleaner to clean a custom location lets call it FolderA, I want to delete every file/folder inside FolderA but to leave one single folder alone that's inside, lets call this FolderB, but I also want to delete all the files/folders insideFolderB. Is something like this possible?
D:\FolderA\FolderB
So if possible, how can setup CCleaner to delete everything inside FolderA & FolderB but to leave the actual FolderB?
Willy2
February 22, 2015, 3:15pm
2
Try if selecting "Files only" would do the trick. Perhaps you also can use a combination of folders & files added to both the "Include" & "Exclude" options.
trium
February 22, 2015, 8:08pm
3
1. step
--> options
--> settings
--> include
--> add
--> "Drive or Folder"
--> with "browse" to your destination or manuall "D:\FolderA"
--> Files types -All Files
--> Options "include files and subfolders"
--> OK!
--> Warning-Window confirm with yes
2. step
--> as above
--> include
--> "Drive or Folder"
--> D:\FolderA\FolderB
--> File Types -All Files
--> Options "includes files and subfolders"
--> OK!
--> Warning-Window confirm with yes
thats it
3. step
--> as above
--> exclude
--> "Add"
--> "D:\FolderA\FolderB"
--> "File Types"
--> File Type: -" " (only 1 space)
--> "OK"
it works, i have just try it
-->
trium
February 22, 2015, 8:13pm
4
can this post someone delete...? has become superfluous
Special
February 22, 2015, 8:20pm
5
1. step
--> options
--> settings
--> include
--> add
--> "Driver or Folder"
--> with "browse" to your destination or manuall "D:\FolderA"
--> Files types -All Files
--> Options "include files only"
--> OK!
--> Warning-Window confirm with yes
2. step
--> as above
--> include
--> "Drive or Folder"
--> D:\FolderA\FolderB
--> File Types -All Files
--> Options "includes files and subfolders"
--> OK!
--> Warning-Window confirm with yes
thats it
This makes it so folders and things inside said folders do not get deleted, I want everything to get deleted except FolderB
I have not tried if it works , if you have in the 1st step the subfolder include, but in exclude add the
"D:\FolderA" and
"D:\FolderA\FolderB"
...
I've tried this as well, it does prevent FolderB from getting deleted but nothing inside FolderB gets deleted either.
Can you set up your includes and excludes as
includes:
D:\Folder A|*.*
D:\Folder A\Folder B|.
Excludes:
D:\Folder A|Folder B
that might work
trium
February 22, 2015, 8:55pm
7
1. step
--> options
--> settings
--> include
--> add
--> "Drive or Folder"
--> with "browse" to your destination or manuall "D:\FolderA"
--> Files types -All Files
--> Options "include files and subfolders"
--> OK!
--> Warning-Window confirm with yes
2. step
--> as above
--> include
--> "Drive or Folder"
--> D:\FolderA\FolderB
--> File Types -All Files
--> Options "includes files and subfolders"
--> OK!
--> Warning-Window confirm with yes
thats it
3. step
--> as above
--> exclude
--> "Add"
--> "D:\FolderA\FolderB"
--> "File Types"
--> File Type: -" " (only 1 space)
--> "OK"
it works, i have just try it
-->
this as above works fine, i have just try it... ;-)
Special
February 22, 2015, 10:12pm
8
^^ Weird it doesn't work for me, I've followed the above, then populated polluted both folders with random junk like "New Folder", "New.zip", "New.txt", "New Briefcase", ect. then copied them even more and the "Folders" and "Briefcase" were still left after running CCleaner (the other files types were no though). And I think I found a bug with CCleaner doing this, after removing "step 2" and "step 3" rules but leaving "step 1" CCleaner still wouldn't delete the files that were left.
trium
February 22, 2015, 10:45pm
9
i have my mistake ;-)
3. step
--> as above
--> exclude
--> "Add"
--> "D:\FolderA\FolderB"
--> "File Types"
--> File Type: -"FolderB" (the name of the folder)
--> "OK"
i have just tried it 2 times with copied files and folders in FolderA and FolderB
Special
February 23, 2015, 2:01pm
10
i have my mistake ;-)
3. step
--> as above
--> exclude
--> "Add"
--> "D:\FolderA\FolderB"
--> "File Types"
--> File Type: -"FolderB" (the name of the folder)
--> "OK"
i have just tried it 2 times with copied files and folders in FolderA and FolderB
This works! Thanks for taking the time to figure it out, one small correction though.
line 4
--> "D:\FolderA\FolderB"
should be
--> "D:\FolderA\"