summaryrefslogtreecommitdiff
path: root/plugins/extract
AgeCommit message (Collapse)Author
2023-09-03fix(extract): remove extraction file extension for tar (#11873)Daniel Wang
2023-08-23fix(extract): extraction to directory for single-file .gz (#11852)Marc Cornellà
2023-05-21feat(extract): add support for `.zlib` and `.exe` files (#11085)Marc Cornellà
Fixes #11085
2023-05-21fix(extract): fix extract dir naming conflictsMarc Cornellà
Fixes #11642
2023-04-06fix(extract): fix conflict if compressed file has a folder of the same nameMarc Cornellà
This change fixes the case where the compressed file (e.g. tools.tgz) only contains a folder with the same name (e.g. tools) in its root folder. tools.tgz: |- tools |- fileA.txt |- fileB.txt \- fileC.txt In that case, the "smart" folder creation mechanism will extract the files in a folder "tools", and this extraction folder will contain a single folder with the same name. Before this fix, the tool would try to move out the inside folder to the parent one, but there would already be a folder named "tools", so it would generate a conflict. This change first renames the inside folder to a random string, and only then it is moved outside and the old extraction folder is deleted.
2023-04-02fix(extract): safely remove extract directoryMarc Cornellà
The previous code would remove the extract directory if the command failed. This could be bad because we're not checking if the extract directory already existed (since we're using `mkdir -p`), so it could be possible that the extract operation failed, and we'd be removing a directory that already existed and had files in it. This change only removes the directory if there are no files in it, regardless of whether the extract operation was successful or not. This is much safer.
2023-04-02feat(extract): always extract files into its own folder (#11596)Marc Cornellà
2023-02-22feat(extract): support `obscpio` format (#11511)Filippo Bonazzi
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-02-05feat(extract): add `zpaq` support (#11478)david
2023-01-16feat(extract): add `pbzip2` and `pixz` (#11435)xiagw
2021-08-14style(extract): adopt main code style guide and refactor variablesMarc Cornellà
2021-08-14fix(extract): don't push entries to dirstack when extracting rpm and deb filesMarc Cornellà
2021-08-14fix(extract): correctly extract rpm files on other directoriesMarc Cornellà
2021-08-14feat(extract): add cpio supportXeonacid
2021-08-14fix(extract): support unpacking deb file from different directoryAlexander Kapshuna
2021-08-14feat(extract): add suport for .cab files via `cabextract`Marc Cornellà
2021-05-28feat(extract): add support for .ear files (#9901)Corey Hinkle
Co-authored-by: Corey Hinkle <corey.hinkle@five9.com>
2020-07-18extract: add IPA to extractable filetypes (#9117)Thi Doãn
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-01-04extract: add lz4 support (#8510)Aloxaf
2019-12-28extract: add lrz support (#8500)Marc Cornellà
2019-12-18extract: add tar.lz support (#8479)Mustaqim Malim
2019-12-17extract: add zstd support (#8469)Filipe Nascimento
2019-11-19extract: add RPM archive support (#8347)Richard Pöttler
Also more quiet extraction. -D for cpio was not used due to additional output.
2019-11-09extract: keep *.gz files with pigz and gunzipMarc Cornellà
Fixes #8368
2019-01-15extract: add AAR Android archive support (#7511)Ing. Jan Kaláb
2018-08-09extract: whl files support (#7045)Alexander Kapshuna
2018-08-07extract: check file extension as lowercase (#6158)kapsh
Fixes #6157
2018-01-22Update extract.plugin.zsh (#6516)David Leitner
2016-09-30extract: add READMEMarc Cornellà
2016-09-30extract: add file extensions to extract completionMarc Cornellà
2016-09-30extract: replace basename&sed w/ zsh variable expansion syntaxMarc Cornellà
`${var:t:h}` uses: - `${var:t}` which acts as `basename`. - `${var:r}` which removes the extension. See http://zsh.sourceforge.net/Doc/Release/Expansion.html#Modifiers
2016-09-29extract: fix extraction of deb packages with data.tar.xzMarc Cornellà
2016-09-29extract: fix stylingMarc Cornellà
2015-12-02Recognize Firefox addon and Android packages.Hugh Wang
2015-02-11Add .ipsw to the extract plugin.Neal
2014-11-26use pigz if available in extract pluginWill Boyce
2014-05-26extract plugin will unzip *.sublime-package filesFrank Behrens
2013-10-03Added '.jar'Timo Sand
2013-10-03Added '.war' extension to unzipTimo Sand
2013-02-15Update plugins/extract/extract.plugin.zshripdog
Cause unrar to preserve directory structure. (Why is only unrar different?!)
2012-01-16Removed the assignments to fpath as well, since that's all handled in the ↵Daniel Bye
.oh-my-zsh/oh-my-zsh.sh boot script.
2012-01-13Removed calls to compinit in the extract and the bundler plugins. compinit ↵Daniel Bye
should only be called once, after all modules, libs, etc are imported.
2011-06-01Handle tar.xz and tar.lzma better (credit: @gwjo).Sorin Ionescu
2011-06-01Added extract plugin.Sorin Ionescu