You can get this info in EnCase by right-clicking and choosing Copy Folders, but I hate right-clicking and modal dialogs, and their combination, however trivial seeming, is enough to make me write a script.
class MainClass {
void Main(CaseClass c) {
if (c) {
long numFiles,
numFolders,
numBytes;
forall (EntryClass e in c.EntryRoot()) {
if (e.IsSelected()) {
if (e.IsFolder()) {
++numFolders;
}
else {
++numFiles;
numBytes += e.LogicalSize();
}
}
}
Console.WriteLine(String::FormatInt(numBytes, int::DECIMAL, String::COMMAS) + " selected, "
+ String::FormatInt(numFiles, int::DECIMAL, String::COMMAS) + " files, "
+ String::FormatInt(numFolders, int::DECIMAL, String::COMMAS) + " folders");
}
}
}
void Main(CaseClass c) {
if (c) {
long numFiles,
numFolders,
numBytes;
forall (EntryClass e in c.EntryRoot()) {
if (e.IsSelected()) {
if (e.IsFolder()) {
++numFolders;
}
else {
++numFiles;
numBytes += e.LogicalSize();
}
}
}
Console.WriteLine(String::FormatInt(numBytes, int::DECIMAL, String::COMMAS) + " selected, "
+ String::FormatInt(numFiles, int::DECIMAL, String::COMMAS) + " files, "
+ String::FormatInt(numFolders, int::DECIMAL, String::COMMAS) + " folders");
}
}
}