alias/tar
This commit is contained in:
parent
d4340a4004
commit
72b64d4570
1 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
|||
tc() { a__tar_create "${@}"; }
|
||||
# functions to handle tar
|
||||
|
||||
#= tc
|
||||
a__tar_create() {
|
||||
a__tar_verbose \
|
||||
--create \
|
||||
|
@ -7,7 +9,7 @@ a__tar_create() {
|
|||
"${@}"
|
||||
}
|
||||
|
||||
tl() { a__tar_list "${@}"; }
|
||||
#= tl
|
||||
a__tar_list() {
|
||||
a__tar_verbose \
|
||||
--list \
|
||||
|
@ -15,14 +17,14 @@ a__tar_list() {
|
|||
"${@}"
|
||||
}
|
||||
|
||||
tv() { a__tar_verbose "${@}"; }
|
||||
#= tv
|
||||
a__tar_verbose() {
|
||||
tar \
|
||||
--verbose \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
tx() { a__tar_xtract "${@}"; }
|
||||
#= tx
|
||||
a__tar_xtract() {
|
||||
a__tar_verbose \
|
||||
--extract \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue