{"id":26989940,"url":"https://github.com/llppr/flat_directory","last_synced_at":"2025-04-03T21:30:14.035Z","repository":{"id":280070225,"uuid":"940899346","full_name":"LLPPR/Flat_Directory","owner":"LLPPR","description":"The flatten_directory.py script flattens a given directory up to a specified level, making it easier to manage files by reducing nested folders. It also provides an option to undo the changes if needed.","archived":false,"fork":false,"pushed_at":"2025-03-01T17:41:41.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T18:33:21.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LLPPR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2025-03-01T02:38:08.000Z","updated_at":"2025-03-01T17:41:45.000Z","dependencies_parsed_at":"2025-03-01T18:43:31.031Z","dependency_job_id":null,"html_url":"https://github.com/LLPPR/Flat_Directory","commit_stats":null,"previous_names":["lpx1138/flat_directory","llppr/flat_directory"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLPPR%2FFlat_Directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLPPR%2FFlat_Directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLPPR%2FFlat_Directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLPPR%2FFlat_Directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LLPPR","download_url":"https://codeload.github.com/LLPPR/Flat_Directory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247082618,"owners_count":20880685,"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":"2025-04-03T21:30:13.495Z","updated_at":"2025-04-03T21:30:14.018Z","avatar_url":"https://github.com/LLPPR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Directory♭ \n\n### Flat Directory Script\n\n## Description\nThe `flatten_directory.py` script flattens a given directory up to a specified level, making it easier to manage files by reducing nested folders. It also provides an option to undo the changes ~~when~~ if needed.\n\n## Usage\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/LLPPR/flatten-directory.git\n   cd flatten-directory\n   ```\n\n2. Run the script:\n   ```sh\n   python flatten_directory.py \u003cdirectory\u003e \u003clevels\u003e\n   ```\n\n3. Follow the prompts to provide the path to your root directory and the number of directory levels to flatten to. The script will ask if you want to undo the changes after execution.\n\n## Requirements\n- Python 3.x\n\n## License\nThis project is licensed under the Unlicense.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllppr%2Fflat_directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllppr%2Fflat_directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllppr%2Fflat_directory/lists"}