3MV36EM2JI7GX2GTOYWCESNVIHEVHICX3REBJV3CYHUN5GUVDL3QC
case ${fileActions[${file}]} in
"rm")
if [ ! -z "${@}" ]; then
if [[ "${@}" == *"--destructive"* ]]; then
# if action is 'rm'
eval "${fileActions[${file}]} --interactive=always '${file}'"
# @TODO setup command detection for rm, (r)sync, and "else" clause catchall
if [ -f "${file}" ]; then
case ${fileActions[${file}]} in
"rm")
if [ ! -z "${@}" ]; then
if [[ "${@}" == *"--destructive"* ]]; then
# if action is 'rm'
eval "${fileActions[${file}]} --interactive=always '${file}'"
# @TODO setup command detection for rm, (r)sync, and "else" clause catchall
else
lt "Command '${@}' not recognized."
fi
else
lt "In --destructive mode, the '${fileActions[${file}]}' action would remove the file '${file}', but this is just a dry run, so nothing will be changed."
fi
;;
*)
"Not processing '${fileActions[${file}]}' for file '${file}', this is a dry run."
;;
esac
;;
*)
"Not processing '${fileActions[${file}]}' for file '${file}', this is a dry run."
;;
esac
else
lt "Can't find '${file}' in current directory, moving on..."
fi