rwx/sh/alias/tar.sh

34 lines
335 B
Bash
Raw Normal View History

2025-07-06 07:10:07 +02:00
# functions to handle tar
#= tc
a__tar_create() {
a__tar_verbose \
--create \
--auto-compress \
--file \
"${@}"
}
2025-07-06 07:10:07 +02:00
#= tl
a__tar_list() {
a__tar_verbose \
--list \
--file \
"${@}"
}
2025-07-06 07:10:07 +02:00
#= tv
a__tar_verbose() {
tar \
--verbose \
"${@}"
}
2025-07-06 07:10:07 +02:00
#= tx
a__tar_xtract() {
a__tar_verbose \
--extract \
--file \
"${@}"
}