ouch
ouch copied to clipboard
Painless compression and decompression in the terminal
Gnu tar has the ability to add new file(s) to existing archive file and remove file(s) from it (if not compressed). 
Example fixture: create 2 tar files: ```sh mkdir -p a/b/; echo "first archive"> a/b/file1; cp a/b/file1 a/b/file2; tar cf a1.tar a; rm -rf a mkdir -p a/b/ a/c/; echo "second...
I think users might want to hear about the alternatives to Ouch in the README. 1. https://github.com/mholt/archiver (closes alternative to Ouch) 2. https://www.nongnu.org/atool/ (supports everything with binaries) 3. https://github.com/magiclen/xcompress (supports...
### Version 0.4.1 ### Description Zsh completions won't complete when an alias is used as subcommand. ### Current Behavior If you ask for completions: ```plain cargo d ``` Nothing happens....
A lot of new features has been added that are not tested by the CI, namely the `list` subcommand and smart decompress
We are using `std::io::copy` to connect the writer and readers when compressing. https://github.com/ouch-org/ouch/blob/986a6f6ccf6df858db4d50502f392b9eff8a3027/src/commands/compress.rs#L72-L75 And also when decompressing. https://github.com/ouch-org/ouch/blob/986a6f6ccf6df858db4d50502f392b9eff8a3027/src/commands/decompress.rs#L104-L109 We are using `BufWriter` for compression and `BufReader` for decompression, here's our...
Creating a directory when you're... unpacking a zip archive: ``` [INFO] File 12 extracted to "/home/marcospb19/ouch/testing/.tmpmiVaZQ/src/commands/" ``` unpacking a tar (tar.gz.*) archive: ``` [INFO] "testing/.tmpcBIpss/src/commands" extracted. (0 B) ``` The...
Flags like `--hidden` and `--gitignore` are set in the `Opts` struct, however, they are specific to the `compress` subcommand, so these flags should be moved to the `Subcommand::Compress` enum variant....
I tried to decompress an archive that I had compressed using Ubuntu's `Archive Manager` with a password, but received the following error: ``` $ ouch d archive.zip [INFO] Created temporary...