mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Remove possible colon from Virtual Machine Extractor output directory name.
This was causing the module to fail on local disks.
This commit is contained in:
parent
b05391e74a
commit
1f33d210db
@ -86,6 +86,7 @@ final class VMExtractorIngestModule extends DataSourceIngestModuleAdapter {
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy_MM_dd_HH_mm_ss");
|
||||
String timeStamp = dateFormat.format(Calendar.getInstance().getTime());
|
||||
String ingestJobOutputDirName = context.getDataSource().getName() + "_" + context.getDataSource().getId() + "_" + timeStamp;
|
||||
ingestJobOutputDirName = ingestJobOutputDirName.replace(':', '_');
|
||||
ingestJobOutputDir = Paths.get(Case.getCurrentCase().getModuleDirectory(), VMExtractorIngestModuleFactory.getModuleName(), ingestJobOutputDirName);
|
||||
// create module output folder to write extracted virtual machine files to
|
||||
Files.createDirectories(ingestJobOutputDir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user