Skip to content

[Feature Request] File Manager: Add Compress/Extract archive #2511

@mgutt

Description

@mgutt

Currently it is not possible to create or extract archives through the WebGUI.

As this is one of the most wanted features mentioned in the Support Thread we should add this.

Concept

COMPRESS

  • add new COMPRESS button
  • by default create Zstandard (zstd) archives if the source is /mnt/*/appdata/* or /mnt/*/system/* (or whatever appdata/docker path has been set by the user as his default)
  • by default create ZIP archives if source is a user share (or share on disk or pool)
  • remove parent path structure (e.g. /mnt/disk1/sharename is not added to archive)
  • dropdown with compress algorithms
  • not sure: dropdown with compress levels (depending on selected algorithm) - maybe to overwhelming for general users
  • adopt archive filename from selected file or folder
  • display progress

EXTRACT

  • add new EXTRACT button
  • by default the current path is prefilled as source
  • FileTree allows browsing through path structure similar to the COPY/MOVE dialogbox (including the PopularDestinations) and selecting the source path
  • not sure: browse archive and select files from archive to extract. This should use the default Browse.page and no additional dialogbox. So clicking on an archive should directly open the next page with the containing files. But: Could result in slow loading time depending on the type and/or size of the archive. Needs testing.

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