This tool recursively cleans all the "$I30" and "*.FileSlack" files created by FTK imager. For feature requests/bug reports please reply to this thread.
.NET Framework v4 (4.0, 4.5, 4.5.1, 4.5.2, etc.)
The license is
Index and FileSlack cleanup tool v1.0.0.0
- Initial release
francesco
Nice tool. I developed something similar internally to do the same thing… but without your fancy GUI! -)
One recommendation is to check out the Delimon.Win32.IO.dll library as a replacement for System.IO, I was getting a lot of exceptions with long file names/paths.
I also was finding that a lot of the files were set to read-only and couldn't be deleted. Code for my fix is below if you are interested.
Delimon.Win32.IO.FileAttributes attributes = Delimon.Win32.IO.File.GetAttributes(file);
if ((attributes & FileAttributes.ReadOnly) == FileAttributes.ReadOnly)
{
// Make the file RW
attributes = RemoveAttribute(attributes, FileAttributes.ReadOnly);
File.SetAttributes(file, attributes);
Console.WriteLine("The {0} file is no longer RO.", file);
}
private static FileAttributes RemoveAttribute(FileAttributes attributes, FileAttributes attributesToRemove)
{
return attributes & ~attributesToRemove;
}