{"id":17358613,"url":"https://github.com/babak2/print-directory-tree","last_synced_at":"2025-03-27T16:17:57.784Z","repository":{"id":225803552,"uuid":"766905072","full_name":"babak2/Print-Directory-Tree","owner":"babak2","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-07T00:40:19.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T19:45:12.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babak2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-04T10:53:40.000Z","updated_at":"2024-03-04T10:57:48.000Z","dependencies_parsed_at":"2024-03-07T01:44:17.238Z","dependency_job_id":null,"html_url":"https://github.com/babak2/Print-Directory-Tree","commit_stats":null,"previous_names":["babak2/print-directory-tree"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babak2%2FPrint-Directory-Tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babak2%2FPrint-Directory-Tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babak2%2FPrint-Directory-Tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babak2%2FPrint-Directory-Tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babak2","download_url":"https://codeload.github.com/babak2/Print-Directory-Tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245878924,"owners_count":20687297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T19:06:11.026Z","updated_at":"2025-03-27T16:17:57.762Z","avatar_url":"https://github.com/babak2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Print Directory Tree \n\nThis Python command-line program prints the underlying directory tree structure to the standard output (console/ terminal).\n\n\n## Usage\n\n\n- Ensure you have Python 3 installed on your system.\n\n- Extract the contents of the zip file to a location on your computer.\n\n- Open a terminal or command prompt.\n\n- Navigate to the directory containing the print_dir_tree.py script.\n\n- Run the script with the following command:\n\n    - If Python 3 is the only Python version installed on your machine, you can use the python command. For example:\n\n    `python print_dir_tree.py \u003cdirectory_path\u003e `\n\n    - If both Python 2 and 3 are both installed, it's important to specify Python 3 using the python3 command. For example:\n\n    `python3 print_dir_tree.py \u003cdirectory_path\u003e `\n\n\nReplace \u003cdirectory_path\u003e with the path to the directory whose tree structure you want to print.\n\n- The program will display the directory tree structure, showing directories suffixed by a trailing slash ('/') and files contained within each directory.     \n\n\n### Example\n\n\nRunning the program with the command:\n\n\n`python3 print_dir_tree.py path`\n\n\nwill produce the following output:\n\n```\npath/\n    subdir1/\n        buzz\n        fizz\n    subdir2/\n        foo\n        subsubdir1/\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabak2%2Fprint-directory-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabak2%2Fprint-directory-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabak2%2Fprint-directory-tree/lists"}