rwx/sh/fs/tar.sh

35 lines
349 B
Bash
Raw Permalink Normal View History

2025-07-06 07:10:07 +02:00
# functions to handle tar
#= tc
2025-07-27 15:40:27 +02:00
rwx_tar_create() {
rwx_tar_verbose \
--create \
--auto-compress \
--file \
"${@}"
}
2025-07-06 07:10:07 +02:00
#= tl
2025-07-27 15:40:27 +02:00
rwx_tar_list() {
rwx_tar_verbose \
--list \
--file \
"${@}"
}
2025-07-27 15:40:27 +02:00
#| tar
2025-07-06 07:10:07 +02:00
#= tv
2025-07-27 15:40:27 +02:00
rwx_tar_verbose() {
tar \
--verbose \
"${@}"
}
2025-07-06 07:10:07 +02:00
#= tx
2025-07-27 15:40:27 +02:00
rwx_tar_xtract() {
rwx_tar_verbose \
--extract \
--file \
"${@}"
}