|
|
@ -8,6 +8,7 @@ public class Util { |
|
|
|
File f = new File(path); |
|
|
|
if(f.isDirectory()) { |
|
|
|
System.out.println(f.getAbsolutePath()); |
|
|
|
System.out.printf("%s %s\n","Permisos", "Archivo"); |
|
|
|
listItemsArgs(f); |
|
|
|
} |
|
|
|
} |
|
|
@ -34,7 +35,7 @@ public class Util { |
|
|
|
if(i.canExecute()) { |
|
|
|
sb.append("-x"); |
|
|
|
} |
|
|
|
System.out.printf("%s %s\n", sb.toString(), i.getName()); |
|
|
|
System.out.printf("%s\t %s\n", sb.toString(), i.getName()); |
|
|
|
sb.setLength(0); |
|
|
|
} |
|
|
|
} |
|
|
|