diff --git a/goobi1.9/WEB-INF/src/org/goobi/production/flow/helper/JobCreation.java b/goobi1.9/WEB-INF/src/org/goobi/production/flow/helper/JobCreation.java index 082ca0dce..ae9efd8a1 100644 --- a/goobi1.9/WEB-INF/src/org/goobi/production/flow/helper/JobCreation.java +++ b/goobi1.9/WEB-INF/src/org/goobi/production/flow/helper/JobCreation.java @@ -211,7 +211,10 @@ public static void moveFiles(File metsfile, String basepath, Prozess p) throws S File[] imageList = directory.listFiles(); for (File imagedir : imageList) { if (imagedir.isDirectory()) { - FileUtils.moveDirectory(imagedir, new File(p.getImagesDirectory(), imagedir.getName())); + for (File file : imagedir.listFiles()) { + FileUtils.moveFile(file, new File(p.getImagesDirectory() + imagedir.getName(), file.getName())); + } +// FileUtils.moveDirectory(imagedir, new File(p.getImagesDirectory(), imagedir.getName())); } else { FileUtils.moveFile(imagedir, new File(p.getImagesDirectory(), imagedir.getName())); }