Skip to content

Automatically taking care of directories? #816

@Pomax

Description

@Pomax

If you're packing up entire directories based on flat lists of files (e.g. find . output) having to figure out when and whether to call archiver.directory is rather painful. It would be much nicer if append calls like:

archive.append('string cheese!', { name: 'some/nested/dir/file.txt' });

automatically did the right thing. It is unclear from the README.md whether it does that right now, but if it doesn't, could that be added?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions