This commit is contained in:
Marc Beninca 2024-11-16 16:07:47 +01:00
parent a31401bd77
commit ecb4005b0e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 18 additions and 11 deletions

View file

@ -8,8 +8,8 @@ lb() {
"MOUNTPOINTS" "MOUNTPOINTS"
} }
# common arguments # base arguments
lbc() { lbb() {
lsblk \ lsblk \
--noempty \ --noempty \
"${@}" "${@}"
@ -22,6 +22,6 @@ lbo() {
for argument in "${@}"; do for argument in "${@}"; do
arguments="${arguments},${argument}" arguments="${arguments},${argument}"
done done
lbc \ lbb \
--output "${arguments}" --output "${arguments}"
} }

View file

@ -1,12 +1,19 @@
# synchronize # synchronize
alias rs="\ rs() {
rsync \ rsb \
--archive \ "${@}"
--partial \ }
--progress \
--verbose \ # base arguments
--no-inc-recursive \ rsb() {
" rsync \
--archive \
--no-inc-recursive \
--partial \
--progress \
--verbose \
"${@}"
}
# synchronize and delete after # synchronize and delete after
alias rsda="\ alias rsda="\