-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from sebastienrousseau/0.2.463
0.2.463
- Loading branch information
Showing
152 changed files
with
2,260 additions
and
2,446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io | ||
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.463) - https://dotfiles.io | ||
# Made with ♥ in London, UK by @sebastienrousseau | ||
# Copyright (c) 2015-2022. All rights reserved | ||
# Copyright (c) 2015-2023. All rights reserved | ||
# License: MIT | ||
registry=https://npm.pkg.github.com/sebastienrousseau | ||
@sebastienrousseau:registry=https://registry.npmjs.org # Switch to npm when needed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io | ||
* 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.463) - https://dotfiles.io | ||
* Made with ♥ in London, UK by @sebastienrousseau | ||
* Copyright (c) 2015-2022. All rights reserved | ||
* Copyright (c) 2015-2023. All rights reserved | ||
* License: MIT | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Compression Aliases | ||
|
||
This repository contains a set of shell aliases for various compression | ||
tools. These aliases can be added to your shell profile to make it easy | ||
to compress and extract files from the command line. | ||
|
||
## Aliases | ||
|
||
### 7z | ||
|
||
- `c7z`: Compress a whole directory (including subdirectories) to a 7z file. | ||
- `e7z`: Extract a whole directory (including subdirectories) from a 7z file. | ||
- `l7z`: List contents of a 7z archive. | ||
- `t7z`: Test integrity of a 7z archive. | ||
- `x7z`: Extract files with full paths from a 7z archive. | ||
|
||
### bzip2 | ||
|
||
- `cbz2`: Compress a file to a bz2 file. | ||
- `ebz2`: Extract a file from a bz2 file. | ||
|
||
### gzip | ||
|
||
- `cgz`: Compress a file to a gz file. | ||
- `egz`: Extract a file from a gz file. | ||
|
||
### jar | ||
|
||
- `cjar`: Compress a whole directory (including subdirectories) to a jar file. | ||
- `ejar`: Extract a whole directory (including subdirectories) from a jar file. | ||
|
||
### lzma | ||
|
||
- `clzma`: Compress a file to a lzma file. | ||
- `elzma`: Extract a file from a lzma file. | ||
|
||
### rar | ||
|
||
- `crar`: Compress a file to a rar file. | ||
- `erar`: Extract a file from a rar file. | ||
|
||
### tar | ||
|
||
- `ctar`: Compress a whole directory (including subdirectories) to a tar file. | ||
- `etar`: Extract a whole directory (including subdirectories) from a tar file. | ||
- `t7z`: Compress a whole directory (including subdirectories) to a 7z file. | ||
- `tbz`: Compress a whole directory (including subdirectories) to a bzip2 file. | ||
- `tgz`: Compress a whole directory (including subdirectories) to a tar.gz file. | ||
- `txz`: Compress a whole directory (including subdirectories) to a xz file. | ||
- `txzstd`: Compress a whole directory (including subdirectories) to a zstd file. | ||
- `tz`: Compress a whole directory (including subdirectories) to a gzip file. | ||
- `unzip`: Extract a whole directory (including subdirectories) from a zip file. | ||
- `x7z`: Extract a whole directory (including subdirectories) from a 7z file. | ||
- `xbz`: Extract a whole directory (including subdirectories) from a bzip2 file. | ||
- `xgz`: Extract a whole directory (including subdirectories) from a tar.gz file. | ||
- `xxz`: Extract a whole directory (including subdirectories) from a xz file. | ||
- `xxzstd`: Extract a whole directory (including subdirectories) from a zstd file. | ||
- `xz`: Extract a whole directory (including subdirectories) from a gzip file. | ||
- `zip`: Compress a whole directory (including subdirectories) to a zip file. | ||
|
||
### xz | ||
|
||
- `cxz`: Compress a file to a xz file. | ||
- `exz`: Extract a file from a xz file. | ||
- `tlz`: Compress a whole directory (including subdirectories) to a lz file. | ||
- `xlz`: Extract a whole directory (including subdirectories) from a lz file. | ||
|
||
### zip | ||
|
||
- `cz`: Compress a whole directory (including subdirectories) to a zip file. | ||
- `ez`: Extract a whole directory (including subdirectories) from a zip file. | ||
- `tbz`: Compress a whole directory (including subdirectories) to a bzip2 file. | ||
- `txz`: Compress a whole directory (including subdirectories) to a xz file. | ||
- `tz`: Compress a whole directory (including subdirectories) to a gzip file. | ||
- `xbz`: Extract a whole directory (including subdirectories) from a bzip2 file. | ||
- `xxz`: Extract a whole directory (including subdirectories) from a xz file. | ||
- `xz`: Extract a whole directory (including subdirectories) from a gzip file. | ||
|
||
### zstd | ||
|
||
- `czstd`: Compress a whole directory (including subdirectories) to a zstd file. | ||
- `ezstd`: Extract a whole directory (including subdirectories) from a zstd file. | ||
- `tzstd`: Compress a whole directory (including subdirectories) to a tar.zst file. | ||
- `xzstd`: Extract a whole directory (including subdirectories) from a tar.zst file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,86 @@ | ||
#!/usr/bin/env bash | ||
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io | ||
# Made with ♥ in London, UK by @sebastienrousseau | ||
# Copyright (c) 2015-2022. All rights reserved | ||
# Author: Sebastien Rousseau | ||
# Copyright (c) 2015-2023. All rights reserved | ||
# Description: Sets aliases for archives. | ||
# License: MIT | ||
# Script: archives.aliases.sh | ||
# Version: 0.2.463 | ||
# Website: https://dotfiles.io | ||
|
||
# 🅰🆁🅲🅷🅸🆅🅴🆂 🅰🅻🅸🅰🆂🅴🆂 | ||
if command -v 7z &>/dev/null; then | ||
if command -v '7z' >/dev/null; then | ||
alias c7z='7z a' # c7z: Compress a whole directory (including subdirectories) to a 7z file. | ||
alias e7z='7z x' # e7z: Extract a whole directory (including subdirectories) from a 7z file. | ||
alias l7z='7z l' # l7z: List contents of a 7z archive. | ||
alias t7z='7z t' # t7z: Test integrity of a 7z archive. | ||
alias x7z='7z x' # x7z: Extract files with full paths from a 7z archive. | ||
fi | ||
|
||
if command -v tar &>/dev/null; then | ||
if command -v 'bzip2' >/dev/null; then | ||
alias cbz2='tar -cvjf' # cbz2: Compress a file to a bz2 file. | ||
alias ctar='tar -cvf' # ctar: Compress a whole directory (including subdirectories) to a tar file. | ||
alias etar='tar -xvf' # etar: Extract a whole directory (including subdirectories) from a tar file. | ||
alias cgz='tar -zcvf' # cgz: Compress a file to a gz file. | ||
alias cxz='tar -cvJf' # cxz: Compress a whole directory (including subdirectories) to a xz file. | ||
alias ebz2='tar -xvjf' # ebz2: Extract a file from a bz2 file. | ||
alias egz='tar -xvzf' # egz: Extract a file from a gz file. | ||
alias exz='tar -xvJf' # exz: Extract a whole directory (including subdirectories) from a xz file. | ||
fi | ||
|
||
if command -v jar &>/dev/null; then | ||
if command -v 'gzip' >/dev/null; then | ||
alias cgz='tar -zcvf' # cgz: Compress a file to a gz file. | ||
alias egz='tar -xvzf' # egz: Extract a file from a gz file. | ||
fi | ||
|
||
if command -v 'jar' >/dev/null; then | ||
alias cjar='jar -cvf' # cjar: Compress a whole directory (including subdirectories) to a jar file. | ||
alias ejar='jar -xvf' # ejar: Extract a whole directory (including subdirectories) from a jar file. | ||
fi | ||
|
||
if command -v xz &>/dev/null; then | ||
if command -v 'lzma' >/dev/null; then | ||
alias clzma='xz -zcvf' # clzma: Compress a file to a lzma file. | ||
alias elzma='xz -zxvf' # elzma: Extract a file from a lzma file. | ||
fi | ||
|
||
if command -v 'rar' >/dev/null; then | ||
alias crar='rar a' # crar: Compress a file to a rar file. | ||
alias erar='rar x' # erar: Extract a file from a rar file. | ||
fi | ||
|
||
if command -v 'tar' >/dev/null; then | ||
alias ctar='tar -cvf' # ctar: Compress a whole directory (including subdirectories) to a tar file. | ||
alias etar='tar -xvf' # etar: Extract a whole directory (including subdirectories) from a tar file. | ||
alias t7z='tar -cvf' # t7z: Compress a whole directory (including subdirectories) to a 7z file. | ||
alias tbz='tar -cvjf' # tbz: Compress a whole directory (including subdirectories) to a bzip2 file. | ||
alias tgz='tar -cvzf' # tgz: Compress a whole directory (including subdirectories) to a tar.gz file. | ||
alias txz='tar -cJf' # txz: Compress a whole directory (including subdirectories) to a xz file. | ||
alias txzstd='tar -c --zstd -f' # txzstd: Compress a whole directory (including subdirectories) to a zstd file. | ||
alias tz='tar -cvzf' # tz: Compress a whole directory (including subdirectories) to a gzip file. | ||
alias unzip='tar -xvzf' # unzip: Extract a whole directory (including subdirectories) from a zip file. | ||
alias x7z='tar -xvf' # x7z: Extract a whole directory (including subdirectories) from a 7z file. | ||
alias xbz='tar -xvjf' # xbz: Extract a whole directory (including subdirectories) from a bzip2 file. | ||
alias xgz='tar -xvzf' # xgz: Extract a whole directory (including subdirectories) from a tar.gz file. | ||
alias xxz='tar -xvJf' # xxz: Extract a whole directory (including subdirectories) from a xz file. | ||
alias xxzstd='tar -x --zstd -f' # xxzstd: Extract a whole directory (including subdirectories) from a zstd file. | ||
alias xz='tar -xvzf' # xz: Extract a whole directory (including subdirectories) from a gzip file. | ||
alias zip='tar -cvzf' # zip: Compress a whole directory (including subdirectories) to a zip file. | ||
fi | ||
|
||
if command -v 'xz' >/dev/null; then | ||
alias cxz='xz -zcvf' # cxz: Compress a whole directory (including subdirectories) to a xz file. | ||
alias exz='xz -zxvf' # exz: Extract a whole directory (including subdirectories) from a xz file. | ||
alias tlz='tar -cJf' # tlz: Compress a whole directory (including subdirectories) to a lz file. | ||
alias xlz='tar -xvf' # xlz: Extract a whole directory (including subdirectories) from a lz file. | ||
fi | ||
|
||
if command -v zip &>/dev/null; then | ||
alias cz='zip -r' # czip: Compress a whole directory (including subdirectories) to a zip file. | ||
alias ez='unzip' # ezip: Extract a whole directory (including subdirectories) from a zip file. | ||
if command -v 'zip' >/dev/null; then | ||
alias cz='zip -r' # cz: Compress a whole directory (including subdirectories) to a zip file. | ||
alias ez='unzip' # ez: Extract a whole directory (including subdirectories) from a zip file. | ||
alias tbz='tar -cvjf' # tbz: Compress a whole directory (including subdirectories) to a bzip2 file. | ||
alias txz='tar -cJf' # txz: Compress a whole directory (including subdirectories) to a xz file. | ||
alias tz='tar -cvzf' # tz: Compress a whole directory (including subdirectories) to a gzip file. | ||
alias xbz='tar -xvjf' # xbz: Extract a whole directory (including subdirectories) from a bzip2 file. | ||
alias xxz='tar -xvJf' # xxz: Extract a whole directory (including subdirectories) from a xz file. | ||
alias xz='tar -xvzf' # xz: Extract a whole directory (including subdirectories) from a gzip file. | ||
fi | ||
|
||
if command -v zstd &>/dev/null; then | ||
alias czstd='zstd -zcvf' # czstd: Compress a whole directory (including subdirectories) to a zstd file. | ||
alias ezstd='zstd -zxvf' # ezstd: Extract a whole directory (including subdirectories) from a zstd file. | ||
if command -v 'zstd' >/dev/null; then | ||
alias czstd='zstd -zcvf' # czstd: Compress a whole directory (including subdirectories) to a zstd file. | ||
alias ezstd='zstd -zxvf' # ezstd: Extract a whole directory (including subdirectories) from a zstd file. | ||
alias tzstd='tar -I zstd -cvf' # tzstd: Compress a whole directory (including subdirectories) to a tar.zst file. | ||
alias xzstd='tar -I zstd -xvf' # xzstd: Extract a whole directory (including subdirectories) from a tar.zst file. | ||
fi |
Oops, something went wrong.