Aplicación que imita el comando tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

3.9 KiB

Tree

Jorge Pérez Ludeña

Aplicación que imita el comando tree.
Pide una ruta, la cual analiza Hago que pinte por colores las diferentes carpetas Asi sale la consola


Introduzca una ruta a analizar: 
C:\Users\jorge\OneDrive\Documentos\ProyectosSPRING\tree
|____tree
      |____.classpath
      |____.git
            |____branches
            |____COMMIT_EDITMSG
            |____config
            |____FETCH_HEAD
            |____HEAD
            |____hooks
            |____index
            |____logs
                  |____HEAD
                  |____refs
                        |____heads
                              |____master
                        |____remotes
                              |____origin
                                    |____master
            |____objects
                  |____18
                        |____39fc1c6ab43bf0a74605df9385fe93c3c2357c
                  |____1e
                        |____693043c2d62b77d80b7d9fce4866767d37b9ea
                  |____1f
                        |____9553cf9fd68397ab3afba5bda7ecd37ff34a86
                        |____d8821637da61dde851522e2b21d62065c25356
                  |____29
                        |____5c21ef0baf1580e31e2a6eecbb44c833ca442d
                  |____32
                        |____09d8b3268627cdb70a5c389e7cdf7c1daf89a5
                  |____38
                        |____e0c9fc787a9ec21375184a2fd41c088256bef0
                  |____47
                        |____48537a04286182d5fc569c6a99b1564eb546ec
                  |____4d
                        |____67ce9117e41ad4c1cb33081f430c182dde862d
                  |____51
                        |____4ae90b8dfa018c58ee57ac950b7b67f429defd
                  |____56
                        |____9da881f61aa1fa12720bc6383363690fbdffb6
                  |____5b
                        |____4ffe629e6ea1fc36c44309d3f7420f7c667220
                  |____6a
                        |____6b367e74ee9d970eadcbd520b893aac5745767
                  |____75
                        |____b1af8938fcb4d610c63084fb92dc447435dab8
                  |____79
                        |____936984e77387452dd8bd44517904cc94929a58
                  |____7c
                        |____050a418d4481b1a4622666cd011e2839f413a1
                  |____ab
                        |____e87f88e6e891dbaeb895d7d51cb63862289c52
                  |____ac
                        |____4e840ac2b1c21945a42a386299a1d484b1c817
                        |____63e66a707d8e11ccc28c47303418c3db6c5404
                  |____b7
                        |____9cec473a12353c1d283b77a43a2408aa5bb848
                  |____bb
                        |____af1318820bb63c664e370bc8d3c7e40d96b252
                  |____cc
                        |____9c9e9c91169a9d51eca5647c67e928ed37cd9f
                  |____d3
                        |____5169260d24a953bc29fc4614eea7d23659b2f5
                  |____d5
                        |____5e0bb0eee09b6ad2189de893688702214d910b
                  |____df
                        |____a8d0c14103bdd03d1800201f0097e716bbe5b8
                  |____fb
                        |____5011632c0ab8d6649a148c6fb5845a1b34c747
                  |____info
                  |____pack
                        |____pack-8d3e0be08413e6e7f9d7f81f96dffb40aee99c49.idx
                        |____pack-8d3e0be08413e6e7f9d7f81f96dffb40aee99c49.pack
            |____refs
                  |____heads
                        |____master
                  |____remotes
                        |____origin
                              |____master
                  |____tags
      |____.project
      |____bin
            |____jorpelu
                  |____com
                        |____Tree.class
            |____module-info.class
      |____README.md
      |____src
            |____jorpelu
                  |____com
                        |____Tree.java
            |____module-info.java