This commit is contained in:
Marc Beninca 2025-07-27 15:40:52 +02:00
parent 6d700a4a99
commit 0d2dd0f818
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

34
sh/fs/tar.sh Normal file
View file

@ -0,0 +1,34 @@
# functions to handle tar
#= tc
rwx_tar_create() {
rwx_tar_verbose \
--create \
--auto-compress \
--file \
"${@}"
}
#= tl
rwx_tar_list() {
rwx_tar_verbose \
--list \
--file \
"${@}"
}
#| tar
#= tv
rwx_tar_verbose() {
tar \
--verbose \
"${@}"
}
#= tx
rwx_tar_xtract() {
rwx_tar_verbose \
--extract \
--file \
"${@}"
}