archive : fix tab errors.
This commit is contained in:
parent
604ce79c31
commit
4cdb99fd6d
|
@ -7,10 +7,10 @@ _ARCHIVE_DATE() {
|
|||
# usage: archive [FILES]
|
||||
archive() {
|
||||
local IFS=$'\n'
|
||||
local targets=("${@}") # target file(s).
|
||||
local count=0 # processed count.
|
||||
local total=${#} # total to process.
|
||||
local date=$(_ARCHIVE_DATE) # date stamp.
|
||||
local targets=("${@}")
|
||||
local count=0
|
||||
local total=${#}
|
||||
local date=$(_ARCHIVE_DATE)
|
||||
local failed=0
|
||||
|
||||
# Set dafult value to target all directories.
|
||||
|
@ -54,10 +54,10 @@ archive() {
|
|||
# usage: archive_fast [FILES]
|
||||
archive_fast() {
|
||||
local IFS=$'\n'
|
||||
local targets=("${@}") # target file(s).
|
||||
local count=0 # processed count.
|
||||
local total=${#} # total to process.
|
||||
local date=$(_ARCHIVE_DATE) # date stamp.
|
||||
local targets=("${@}")
|
||||
local count=0
|
||||
local total=${#}
|
||||
local date=$(_ARCHIVE_DATE)
|
||||
local failed=0
|
||||
|
||||
# Set dafult value to target all directories.
|
||||
|
@ -101,9 +101,9 @@ archive_fast() {
|
|||
# usage: archive_check [FILES]
|
||||
archive_check() {
|
||||
local IFS=$'\n'
|
||||
local targets=("${@}") # target file(s).
|
||||
local total=${#} # total to process.
|
||||
local count=0 # processed count.
|
||||
local targets=("${@}")
|
||||
local total=${#}
|
||||
local count=0
|
||||
local failed=0
|
||||
|
||||
# set dafult value to target all supported archives.
|
||||
|
@ -196,9 +196,9 @@ archive_prune() {
|
|||
# usage: unarchive [FILES]
|
||||
unarchive() {
|
||||
local IFS=$'\n'
|
||||
local targets=("${@}") # target file(s).
|
||||
local count=0 # processed count.
|
||||
local total=${#} # total to process.
|
||||
local targets=("${@}")
|
||||
local count=0
|
||||
local total=${#}
|
||||
local failed=0
|
||||
|
||||
# set dafult value to target all supported archives.
|
||||
|
@ -262,10 +262,10 @@ unarchive() {
|
|||
# usage: archive_name [ARCHIVE] [NAME]
|
||||
archive_name() {
|
||||
local IFS=$'\n'
|
||||
local targets="${1}" # target archive(s).
|
||||
local name="${2}" # new name.
|
||||
local total=1 # total targets to process.
|
||||
local count=0 # processed targets counter.
|
||||
local targets="${1}"
|
||||
local name="${2}"
|
||||
local total=1
|
||||
local count=0
|
||||
local failed=0
|
||||
|
||||
# set dafult value to target all supported archives.
|
||||
|
|
Reference in a new issue