rwx/sh/alias/tar.sh

32 lines
407 B
Bash
Raw Normal View History

2024-11-19 13:42:11 +00:00
tc() { a__tar_create "${@}"; }
a__tar_create() {
a__tar_verbose \
2024-11-16 14:37:38 +00:00
--create \
--auto-compress \
--file \
"${@}"
}
2023-05-09 20:02:34 +00:00
2024-11-19 13:42:11 +00:00
tl() { a__tar_list "${@}"; }
a__tar_list() {
a__tar_verbose \
2024-11-16 14:37:38 +00:00
--list \
--file \
"${@}"
}
2023-05-10 07:45:19 +00:00
2024-11-19 13:42:11 +00:00
tv() { a__tar_verbose "${@}"; }
a__tar_verbose() {
2024-11-16 14:37:38 +00:00
tar \
--verbose \
"${@}"
}
2024-11-19 13:42:11 +00:00
tx() { a__tar_xtract "${@}"; }
a__tar_xtract() {
a__tar_verbose \
2024-11-16 14:37:38 +00:00
--extract \
--file \
"${@}"
}