Skip to content

how to get rid of creating a temp folder inside archive? #9

@testers-123

Description

@testers-123

Hi,

I want the files to putting directly archive but it is making a folder and then inside that folder, it is putting the files so how to get rid of this issue? here is my code:
child_process.spawn(
path, //7zip path in my system
[
'a',
'-r',
zipped, //will be the archive name
'mx9',
'm0=lzma2',
'ms=4g',
'mmt=2'
],
{cwd: path.join(folder)} //folder to be zipped
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions