archive : fix tab errors.

This commit is contained in:
Dmitry Voronin 2023-12-06 02:31:52 +03:00
parent 604ce79c31
commit 4cdb99fd6d

View file

@ -7,10 +7,10 @@ _ARCHIVE_DATE() {
# usage: archive [FILES] # usage: archive [FILES]
archive() { archive() {
local IFS=$'\n' local IFS=$'\n'
local targets=("${@}") # target file(s). local targets=("${@}")
local count=0 # processed count. local count=0
local total=${#} # total to process. local total=${#}
local date=$(_ARCHIVE_DATE) # date stamp. local date=$(_ARCHIVE_DATE)
local failed=0 local failed=0
# Set dafult value to target all directories. # Set dafult value to target all directories.
@ -54,10 +54,10 @@ archive() {
# usage: archive_fast [FILES] # usage: archive_fast [FILES]
archive_fast() { archive_fast() {
local IFS=$'\n' local IFS=$'\n'
local targets=("${@}") # target file(s). local targets=("${@}")
local count=0 # processed count. local count=0
local total=${#} # total to process. local total=${#}
local date=$(_ARCHIVE_DATE) # date stamp. local date=$(_ARCHIVE_DATE)
local failed=0 local failed=0
# Set dafult value to target all directories. # Set dafult value to target all directories.
@ -101,9 +101,9 @@ archive_fast() {
# usage: archive_check [FILES] # usage: archive_check [FILES]
archive_check() { archive_check() {
local IFS=$'\n' local IFS=$'\n'
local targets=("${@}") # target file(s). local targets=("${@}")
local total=${#} # total to process. local total=${#}
local count=0 # processed count. local count=0
local failed=0 local failed=0
# set dafult value to target all supported archives. # set dafult value to target all supported archives.
@ -196,9 +196,9 @@ archive_prune() {
# usage: unarchive [FILES] # usage: unarchive [FILES]
unarchive() { unarchive() {
local IFS=$'\n' local IFS=$'\n'
local targets=("${@}") # target file(s). local targets=("${@}")
local count=0 # processed count. local count=0
local total=${#} # total to process. local total=${#}
local failed=0 local failed=0
# set dafult value to target all supported archives. # set dafult value to target all supported archives.
@ -262,10 +262,10 @@ unarchive() {
# usage: archive_name [ARCHIVE] [NAME] # usage: archive_name [ARCHIVE] [NAME]
archive_name() { archive_name() {
local IFS=$'\n' local IFS=$'\n'
local targets="${1}" # target archive(s). local targets="${1}"
local name="${2}" # new name. local name="${2}"
local total=1 # total targets to process. local total=1
local count=0 # processed targets counter. local count=0
local failed=0 local failed=0
# set dafult value to target all supported archives. # set dafult value to target all supported archives.