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