mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-17 14:31:29 +03:00
002-fix_dupes_per_archive: Add info messsages
This commit is contained in:
@@ -103,6 +103,8 @@ if echo "$answer" | grep -iq "^y" ;then
|
|||||||
AFTER=$(wc -l < $file)
|
AFTER=$(wc -l < $file)
|
||||||
if [[ "$AFTER" < "$BEFORE" ]]; then
|
if [[ "$AFTER" < "$BEFORE" ]]; then
|
||||||
printf "\b✔ Compacted down to ${AFTER} lines from ${BEFORE}: ${file}\n"
|
printf "\b✔ Compacted down to ${AFTER} lines from ${BEFORE}: ${file}\n"
|
||||||
|
else
|
||||||
|
printf "\bℹ No action needed for file: ${file}\n"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -123,6 +125,8 @@ if echo "$answer" | grep -iq "^y" ;then
|
|||||||
AFTER=$(wc -l < $file)
|
AFTER=$(wc -l < $file)
|
||||||
if [ "$BEFORE" -ne "$AFTER" ]; then
|
if [ "$BEFORE" -ne "$AFTER" ]; then
|
||||||
printf "\b✔ Compacted down to ${AFTER} lines from ${BEFORE}: ${file}\n"
|
printf "\b✔ Compacted down to ${AFTER} lines from ${BEFORE}: ${file}\n"
|
||||||
|
else
|
||||||
|
printf "\bℹ No action needed for file: ${file}\n"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
tput cnorm # show the cursor
|
tput cnorm # show the cursor
|
||||||
|
|||||||
Reference in New Issue
Block a user