Seaching for and deleting files
Moderator: SourceGear
-
- Posts: 24
- Joined: Fri Apr 30, 2004 2:38 pm
Seaching for and deleting files
Ok, so I added a project to Vault that was once in SourceSafe and I forgot to remove all those insidious .scc files. Bummer. So I want to search in Vault and find all those files and delete them – and then Obliterate them in the Admin tool. I know I can do a history search and find all the .scc files, but I can’t delete them that way. Is there a way to easily do this?
-
- Posts: 24
- Joined: Fri Apr 30, 2004 2:38 pm
No problem, nice to know this will be a new feature! So I went through the project I added and manually deleted all the 72 .scc files. I then Obliterated them (I love the sound of that) because they are useless. Now, in my local folder hierarchy, those .scc files still exist. So just to check everything, I did a project diff, expecting to find 72 files in the filesystem that were not in Vault – but there were only 66 local files reported. Looking into it closer, we noticed that all of the 6 unaccounted files were located either in folders named “debug” and “release” or in their child folders. Interestingly, if I do a diff of just the “debug” or “release” folders, the local .scc files are correctly reported… but if I do a history of the “debug” or “release” parent folder, the local files are not accounted for.
-
- Posts: 24
- Joined: Fri Apr 30, 2004 2:38 pm
-
- Posts: 24
- Joined: Fri Apr 30, 2004 2:38 pm
The diff tools comes with an exclusion list of folder and file types to ignore, and Release and Debug are in that list by default (since these folders are not usually included in source control).mattGreatPond wrote:Interestingly, if I do a diff of just the “debug” or “release” folders, the local .scc files are correctly reported… but if I do a diff of the “debug” or “release” parent folder, the local files are not accounted for.
If you want to change what is in the exclusion list, go to File-Options->Folder Filters and edit the types there. (this is the diff tool, not the Vault client).
-
- Posts: 24
- Joined: Fri Apr 30, 2004 2:38 pm