{"id":18906673,"url":"https://github.com/valentinlibouton/divide_folder","last_synced_at":"2025-07-08T16:33:40.266Z","repository":{"id":172007679,"uuid":"648693354","full_name":"ValentinLibouton/divide_folder","owner":"ValentinLibouton","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-02T16:48:13.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T11:41:38.968Z","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/ValentinLibouton.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,"publiccode":null,"codemeta":null}},"created_at":"2023-06-02T15:10:47.000Z","updated_at":"2023-06-02T16:44:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ed89c94-698f-486f-923f-f8fd51e994eb","html_url":"https://github.com/ValentinLibouton/divide_folder","commit_stats":null,"previous_names":["valentinlibouton/divide_folder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinLibouton%2Fdivide_folder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinLibouton%2Fdivide_folder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinLibouton%2Fdivide_folder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinLibouton%2Fdivide_folder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ValentinLibouton","download_url":"https://codeload.github.com/ValentinLibouton/divide_folder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239890382,"owners_count":19713956,"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-11-08T09:18:17.744Z","updated_at":"2025-02-20T18:24:47.335Z","avatar_url":"https://github.com/ValentinLibouton.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Folder Division Utility\n\nThis utility allows you to divide a folder into multiple parts with equal volume distribution. It traverses all the files in the source folder, sorts them based on their file size in descending order, and then copies the files into different destination folders.\n\n## Usage\n\n```bash\npython divide_folder.py source_folder destination_folder num_parts\n```\n\n- `source_folder`: Path to the source folder that you want to divide.\n- `destination_folder`: Path to the destination folder where the divided parts will be stored.\n- `num_parts`: Number of parts to divide the folder into.\n\nThe utility will create the specified number of destination folders in the destination folder and copy the files from the source folder to the destination folders in a balanced manner.\n\n## Example\n\nTo divide the folder `/path/to/source_folder` into 2 parts and store them in the folder `/path/to/destination_folder`, you would run the following command:\n\n```bash\npython divide_folder.py /path/to/source_folder /path/to/destination_folder 2\n```\n\nThis will create two destination folders named \"part_1_of_2\" and \"part_2_of_2\" in the `/path/to/destination_folder`. The files from the source folder will be distributed evenly between these two destination folders based on their file size.\n\n## Dependencies\n\nThe utility requires the following dependencies:\n\n- Python 3.x\n- shutil\n\nYou can install the dependencies using pip:\n\n```bash\npip install shutil\n```\n## License\n\nThis utility is licensed under ...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinlibouton%2Fdivide_folder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentinlibouton%2Fdivide_folder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinlibouton%2Fdivide_folder/lists"}