1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 16:49:41 +00:00

feat(clean): add large file review and unify warnings

This commit is contained in:
Tw93
2026-01-22 20:15:13 +08:00
parent 9d824d0ad2
commit cde39aaeb2
5 changed files with 113 additions and 82 deletions

View File

@@ -699,7 +699,7 @@ start_cleanup() {
echo ""
if [[ "$DRY_RUN" != "true" && -t 0 ]]; then
echo -e "${GRAY}${ICON_SOLID} Use --dry-run to preview, --whitelist to manage protected paths${NC}"
echo -e "${GRAY}${ICON_WARNING} Use --dry-run to preview, --whitelist to manage protected paths${NC}"
fi
if [[ "$DRY_RUN" == "true" ]]; then
@@ -979,6 +979,11 @@ perform_cleanup() {
clean_time_machine_failed_backups
end_section
# ===== 16. Large files to review (report only) =====
start_section "Large files to review"
check_large_file_candidates
end_section
# ===== Final summary =====
echo ""