This is a library for easily compressing various directories and file types implemented in nushell!
It's effectively just a wrapper around other tools like ffmpeg or zstd to hopefully reduce the amount of times I have to copy, paste, and modify my previous commands to be slightly different.
ffmpeg:>=7(?)compress image *compress video *
zstd:^1compress * zst
bzip3:^1compress * bz3
- Install the project (files) somewhere somehow (todo)
- Run
use compress - Run a compress command
For usage, see the help info for the commands:
compress image av1 --helpcompress video av1 --helpcompress file zst --helpcompress file bz3 --helpCreates a compressed tar file containing the specified directory.
compress dir zst --helpcompress dir bz3 --help- standardize options
- compression effort (
--preset,--level) ->--effort - quality (
--level) ->--quality - add
--losslessto where valid- webp
- make every command accept multiple files
- add
--silent
- compression effort (
- more commands
- files/dirs
- zstd
- bzip3
- bzip2
- gzip
- images
- av1
- webp
- jpegxl
- png
- jpeg
- videos
- av1
- h265
- h264
- audio?
- ogg?
- something else?
- mp3?
- files/dirs