From c6f446f448cb1bddc50f294cc8b6aecf6db6e769 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Fri, 19 Aug 2022 09:57:38 -0400 Subject: [PATCH] fix for using profiles from cli --- .../autopsy/commandlineingest/CommandLineIngestManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/commandlineingest/CommandLineIngestManager.java b/Core/src/org/sleuthkit/autopsy/commandlineingest/CommandLineIngestManager.java index 37edf58aa4..d909bd3f6c 100755 --- a/Core/src/org/sleuthkit/autopsy/commandlineingest/CommandLineIngestManager.java +++ b/Core/src/org/sleuthkit/autopsy/commandlineingest/CommandLineIngestManager.java @@ -56,6 +56,7 @@ import org.sleuthkit.autopsy.ingest.IngestManager; import org.sleuthkit.autopsy.ingest.IngestModuleError; import org.sleuthkit.autopsy.ingest.IngestProfiles; import org.sleuthkit.autopsy.ingest.IngestProfiles.IngestProfile; +import org.sleuthkit.autopsy.ingest.profile.IngestProfilePaths; import org.sleuthkit.autopsy.modules.interestingitems.FilesSet; import org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager; import org.sleuthkit.autopsy.report.infrastructure.ReportGenerator; @@ -543,7 +544,7 @@ public class CommandLineIngestManager extends CommandLineManager { ingestJobSettings = new IngestJobSettings(UserPreferences.getCommandLineModeIngestModuleContextString()); } else { // load the custom ingest - ingestJobSettings = new IngestJobSettings(selectedProfile.toString()); + ingestJobSettings = new IngestJobSettings(IngestProfilePaths.getInstance().getIngestProfilePrefix() + selectedProfile.toString()); ingestJobSettings.setFileFilter(selectedFileSet); }