mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
* fix issue with extracting only certain files
This commit is contained in:
parent
18c422cda0
commit
cc0e468659
@ -1082,7 +1082,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||
}
|
||||
|
||||
CLILogger.info(String.format("Read archive [%s] to [%s]", file.getName(), outputFolder));
|
||||
FileMapper outputMapper = new FileMapper(outputFolder, false);
|
||||
final FileMapper outputMapper = new FileMapper(outputFolder, false);
|
||||
|
||||
final List<File> outputMapping = new ArrayList<File>();
|
||||
for (File entry : archive.listFiles()) {
|
||||
@ -1119,7 +1119,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||
|
||||
@Override
|
||||
public boolean accept(File entry) {
|
||||
return selection.contains(entry);
|
||||
return selection.contains(outputMapper.getOutputFile(entry));
|
||||
}
|
||||
});
|
||||
extractedFiles.addAll(selection);
|
||||
|
Loading…
Reference in New Issue
Block a user