Trees
In many command line interfaces, there is a command called tree that either already exists of you can download via a package manager. Delmar doesn't let us do that, unfortunately, so we'll have to build our own.
For this project, your goal is to create a command line tool that takes in a directory, and prints all of its subdirectories in a formatted fashion. For example, suppose I pass in a directory with its own subdirectories for a project, I would expect an output as follows:
example-app
|-- [login to view URL]
|-- src
| |-- main
| | `-- java
| | `-- main
| | |-- [login to view URL]
| | `-- [login to view URL]
| `-- test
| `-- java
| `-- main
| |-- [login to view URL]
| `-- [login to view URL]
`-- target
|-- classes
| |-- [login to view URL]
| `-- main
| `-- [login to view URL]
|-- generated-sources
| `-- annotations
|-- generated-test-sources
| `-- test-annotations
|-- maven-status
| `-- maven-compiler-plugin
| |-- compile
| | `-- default-compile
| | |-- [login to view URL]
| | `-- [login to view URL]
| `-- testCompile
| `-- default-testCompile
| |-- [login to view URL]
| `-- [login to view URL]
|-- surefire-reports
| |-- [login to view URL]
| |-- [login to view URL]
| |-- [login to view URL]
| `-- [login to view URL]
`-- test-classes
|-- [login to view URL]
`-- main
`-- [login to view URL]
Your application should be able to:
Determine the filetype of what is passed in, and throw an error / exit if not a directory.
Print a tree of the file hierarchy of the supplied directory's subdirectories and files.
Hi sir, I am professional web developer have a look at my profile having nice ratings and reviews
Your satisfaction is more important than money then you only need to pay when your project is completed. There are no risk for you.
Best regards,
Neil
Hi,
I understood your requirement and will be able to develop and deliver with good quality. More than a decade I was working for software companies and then started working as a independent consultant. I am an expert developer on java with data structure algorithms. Please come for chat, let us discuss and will start the work right away.
Thanks
Paul
We need to build a tool which list the hierarchical cycle of a directory or path.
I am able to do this for you.
Please go through my past Linux jobs and customer feedback over nine years
Hi, I can quickly create an application for you that displays the directory tree. I can write it in Java version 8 upwards. Contact me and we'll discuss the details.
Greetings,
Adam
I will create an executable using the golang programming language that will receive a directory as a parameter and return the structure of this directory.