[Tool] Index ($I30)...
 
Notifications
Clear all

[Tool] Index ($I30) and FileSlack cleanup tool v1.0.0.0

2 Posts
2 Users
0 Reactions
1,379 Views
(@francesco)
Trusted Member
Joined: 12 years ago
Posts: 79
Topic starter  

Description

This tool recursively cleans all the "$I30" and "*.FileSlack" files created by FTK imager. For feature requests/bug reports please reply to this thread.

System requirements

.NET Framework v4 (4.0, 4.5, 4.5.1, 4.5.2, etc.)

DISCLAIMER

The software is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason.

LICENSE

The license is GPLv3.

Download

Index and FileSlack cleanup tool v1.0.0.0 - Binaries

Source code

Index and FileSlack cleanup tool v1.0.0.0 - Sources

Changelog

Index and FileSlack cleanup tool v1.0.0.0
- Initial release


   
Quote
(@chad131)
Trusted Member
Joined: 16 years ago
Posts: 63
 

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;
}


   
ReplyQuote
Share: