Added Number of files in -d option

This commit is contained in:
Lia Brueggemann 2023-01-25 15:12:21 +01:00
parent d2be9b368b
commit e78234243f
2 changed files with 12 additions and 4 deletions

View file

@ -151,6 +151,7 @@ public class Main {
}
}
//print files and ask user
public static void ask(boolean color, long bytes, List<Path> deleteThem) {
if (color) {
System.out.println(ConsoleColors.RED_BOLD + (bytes / 8000000) + " unnecessary MB in " + deleteThem.size() + " Files found, do you want to Delete them? Y / N" + ConsoleColors.RESET);