mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Merge pull request #7659 from gdicristofaro/cli-profiles
fix for using profiles from cli
This commit is contained in:
commit
ffd5dca3cd
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user