fs-manager-udroid icon indicating copy to clipboard operation
fs-manager-udroid copied to clipboard

support for multiple formats

Open SaicharanKandukuri opened this issue 2 years ago • 1 comments

Looks like some tar version requires special arguments for different formats. like -z for gzip's --zstd for zstd types

  • check for file formats and use arguments based on formats

SaicharanKandukuri avatar Oct 20 '23 14:10 SaicharanKandukuri

Current progress bar implementation works with pv and tar does not support compression type detection when it receives file from standard input.

https://github.com/RandomCoderOrg/fs-manager-udroid/blob/bf365c3f1ce5e1ff7a9e78503a4c236cf72bd04a/udroid/src/proot-utils/proot-utils.sh#L42-L44

To support multiple compression types there are two solutions.

  1. Add check for compression types.
  2. Use tar checkpoints and checkpoint actions feature to calculate progress and create progress bar

SaicharanKandukuri avatar Apr 28 '24 16:04 SaicharanKandukuri