Tar fixes

This commit is contained in:
crschnick 2024-10-06 02:15:47 +00:00
parent 830745adbe
commit ae93c49689

View file

@ -268,7 +268,7 @@ public abstract class BaseCompressAction implements BrowserAction, BranchAction
@Override @Override
protected void create(String fileName, OpenFileSystemModel model, List<BrowserEntry> entries) { protected void create(String fileName, OpenFileSystemModel model, List<BrowserEntry> entries) {
var tar = CommandBuilder.of().add("tar", "-c", "-f").addIf(gz, "-z").addFile(fileName); var tar = CommandBuilder.of().add("tar", "-c", "-v").addIf(gz, "-z").add("-f").addFile(fileName);
var base = new FilePath(model.getCurrentDirectory().getPath()); var base = new FilePath(model.getCurrentDirectory().getPath());
if (directory) { if (directory) {