rwx/sh/alias/tar.sh

32 lines
440 B
Bash
Raw Normal View History

2024-11-18 15:43:42 +00:00
tc() { sh_a__tar_create "${@}"; }
sh_a__tar_create() {
sh_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-18 15:43:42 +00:00
tl() { sh_a__tar_list "${@}"; }
sh_a__tar_list() {
sh_a__tar_verbose \
2024-11-16 14:37:38 +00:00
--list \
--file \
"${@}"
}
2023-05-10 07:45:19 +00:00
2024-11-18 15:43:42 +00:00
tv() { sh_a__tar_verbose "${@}"; }
sh_a__tar_verbose() {
2024-11-16 14:37:38 +00:00
tar \
--verbose \
"${@}"
}
2024-11-18 15:43:42 +00:00
tx() { sh_a__tar_xtract "${@}"; }
sh_a__tar_xtract() {
sh_a__tar_verbose \
2024-11-16 14:37:38 +00:00
--extract \
--file \
"${@}"
}