diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java b/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java index f91e35c959..28f9516350 100644 --- a/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java @@ -391,7 +391,7 @@ public final class AppSQLiteDB { String metaFileName) throws NoCurrentCaseException, TskCoreException, IOException { // Do not look for metaFile if this is a carved directory - if(sqliteFile.getParentPath().contains("carvedfiles")) { + if(sqliteFile.getParentPath().equalsIgnoreCase("/$carvedfiles/")) { return; } diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java b/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java index 6c823b9553..0c3b0c65c5 100755 --- a/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java @@ -427,7 +427,7 @@ public class SQLiteTableReader implements AutoCloseable { String metaFileName) throws NoCurrentCaseException, TskCoreException, IOException { // Do not look for metaFile if this is a carved directory - if(sqliteFile.getParentPath().contains("carvedfiles")) { + if(sqliteFile.getParentPath().equalsIgnoreCase("/$carvedfiles/")) { return; }