Added Number of files in -d option
This commit is contained in:
parent
d2be9b368b
commit
e78234243f
2 changed files with 12 additions and 4 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue