002-fix_dupes_per_archive: Added helpful advice

pull/604/head
GlassedSilver 3 years ago
parent 2328502c0d
commit 5cd3669634

@ -54,7 +54,7 @@ esac
old_stty_cfg=$(stty -g)
stty raw -echo ; answer=$(head -c 1) ; stty $old_stty_cfg # Careful playing with stty
if echo "$answer" | grep -iq "^y" ;then
printf "\nRunning jobs now... (this may take a while)\n"
printf "\n\nRunning jobs now... (this may take a while)\n"
printf "\nBacking up directories...\n"
@ -126,13 +126,15 @@ if echo "$answer" | grep -iq "^y" ;then
if [ "$BEFORE" -ne "$AFTER" ]; then
printf "\b✔ Compacted down to ${AFTER} lines from ${BEFORE}: ${file}\n"
else
printf "\b No action needed for file: ${file}\n"
printf "\b No action ran for file: ${file}\n"
fi
done
tput cnorm # show the cursor
rm "$tmpfile"
printf "\n\n✔ Done.\n\n"
printf "\n\n✔ Done."
printf "\n Please keep in mind that you may still want to"
printf "\n run sanity checks against your archives!\n\n"
exit
else
tput cnorm

Loading…
Cancel
Save