diff --git a/.classpath b/.classpath
new file mode 100644
index 0000000..fb50116
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/.project b/.project
new file mode 100644
index 0000000..3209d8b
--- /dev/null
+++ b/.project
@@ -0,0 +1,17 @@
+
+
+ tree
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/bin/jorpelu/com/Tree.class b/bin/jorpelu/com/Tree.class
new file mode 100644
index 0000000..1fd8821
Binary files /dev/null and b/bin/jorpelu/com/Tree.class differ
diff --git a/bin/module-info.class b/bin/module-info.class
new file mode 100644
index 0000000..dfa8d0c
Binary files /dev/null and b/bin/module-info.class differ
diff --git a/src/jorpelu/com/Tree.java b/src/jorpelu/com/Tree.java
new file mode 100644
index 0000000..1f9553c
--- /dev/null
+++ b/src/jorpelu/com/Tree.java
@@ -0,0 +1,31 @@
+package jorpelu.com;
+
+import java.io.File;
+
+
+public class Tree {
+
+ public static void main(String[] args) {
+ String ruta=".";
+ if (args.length>=1) ruta = args[0];
+ File fich = new File(ruta);
+ if(!fich.exists()) {
+ System.out.println("No exite "+ruta);
+ } else {
+ if(fich.isFile()) {
+ System.out.println(ruta+" es un fichero");
+ } else {
+ System.out.println(ruta+" es un directorio");
+ File[] ficheros=fich.listFiles();
+ for (File f:ficheros) {
+ String textoDescr = f.isDirectory() ? "/" :
+ f.isFile() ? "_" : "?";
+ System.out.println("("+textoDescr+") "+f.getName());
+
+ }
+ }
+ }
+
+ }
+
+}
diff --git a/src/module-info.java b/src/module-info.java
new file mode 100644
index 0000000..295c21e
--- /dev/null
+++ b/src/module-info.java
@@ -0,0 +1,9 @@
+/**
+ *
+ */
+/**
+ * @author jorge
+ *
+ */
+module tree {
+}
\ No newline at end of file