diff options
Diffstat (limited to 'subr/ex_rtl_fileop.subr')
-rw-r--r-- | subr/ex_rtl_fileop.subr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/subr/ex_rtl_fileop.subr b/subr/ex_rtl_fileop.subr index 3732ab5e..9cf44231 100644 --- a/subr/ex_rtl_fileop.subr +++ b/subr/ex_rtl_fileop.subr @@ -5,16 +5,16 @@ ex_build_fileop() { local _op="${1}"; shift; if [ "${_op}" = cd ]; then - ex_log_msg varn "Changing working directory to \`${1}'."; + ex_log_msg vvvo "Changing working directory to \`${1}'."; [ \( -n "${1}" \) -a \( -L "${1}" -o -e "${1}" \) ] && cd -- "${1}"; elif [ "${_op}" = cp ]; then - ex_log_msg varn "Copying \`${1}' to \`${2}' w/ -pPR."; + ex_log_msg vvvo "Copying \`${1}' to \`${2}' w/ -pPR."; [ ${#} -ge 2 ] && cp -pPR -- "${@}"; elif [ "${_op}" = ln_symbolic ]; then - ex_log_msg varn "Linking \`${1}' to \`${2}' w/ -fs"; + ex_log_msg vvvo "Linking \`${1}' to \`${2}' w/ -fs"; [ \( -n "${1}" \) -a \( -n "${2}" \) ] && ln -fs -- "${1}" "${2}"; elif [ "${_op}" = mv ]; then - ex_log_msg varn "Moving \`${1}' to \`${2}' w/ -fs"; + ex_log_msg vvvo "Moving \`${1}' to \`${2}' w/ -fs"; [ \( -n "${1}" \) -a \( -n "${2}" \) ] && mv -f -- "${1}" "${2}"; elif [ "${_op}" = mkdir ]\ || [ "${_op}" = rm ]; then @@ -23,11 +23,11 @@ ex_build_fileop() { return 1; elif [ "${_op}" = mkdir ]\ && [ ! -e "${1}" ]; then - ex_log_msg varn "Making directory \`${1}'."; + ex_log_msg vvvo "Making directory \`${1}'."; mkdir -p -- "${1}"; elif [ "${_op}" = rm ]\ && [ \( -L "${1}" \) -o \( -e "${1}" \) ]; then - ex_log_msg varn "Removing directory or file \`${1}'."; + ex_log_msg vvvo "Removing directory or file \`${1}'."; rm -rf -- "${1}"; fi; shift; done; |