{"id":30892260,"url":"https://github.com/frayedfunction/file_sort","last_synced_at":"2025-09-08T19:12:39.417Z","repository":{"id":187744925,"uuid":"269841921","full_name":"FrayedFunction/File_Sort","owner":"FrayedFunction","description":"Simple script that organises files into respective folders.","archived":false,"fork":false,"pushed_at":"2020-06-07T19:18:43.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T13:35:23.580Z","etag":null,"topics":["filesort","python","scripts"],"latest_commit_sha":null,"homepage":"","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/FrayedFunction.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}},"created_at":"2020-06-06T02:23:00.000Z","updated_at":"2020-07-09T14:40:55.000Z","dependencies_parsed_at":"2023-08-12T01:29:46.741Z","dependency_job_id":null,"html_url":"https://github.com/FrayedFunction/File_Sort","commit_stats":null,"previous_names":["mccdev260/file_sort","frayedfunction/file_sort"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/FrayedFunction/File_Sort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrayedFunction%2FFile_Sort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrayedFunction%2FFile_Sort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrayedFunction%2FFile_Sort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrayedFunction%2FFile_Sort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FrayedFunction","download_url":"https://codeload.github.com/FrayedFunction/File_Sort/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrayedFunction%2FFile_Sort/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231417,"owners_count":25245585,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["filesort","python","scripts"],"created_at":"2025-09-08T19:12:27.561Z","updated_at":"2025-09-08T19:12:39.406Z","avatar_url":"https://github.com/FrayedFunction.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File_Sort\nSimple script that organizes files into respective folders.\n\n## How to use: Choose folder path\nEnter the path of the folder you would like to organize as the value of the **folder_path** variable.\n\nIn order for the path to be found, the backslashes need to be inverted so it looks like the example path below:\n\n    folder_path = \"C:/Users/exampleuser/Videos\"\n\n## How to use: Specify how the files should be organized \nTo specify how the script should organize the files and the name of the respective folder the file belongs in, edit the value of **file.split(' ')[0]** in the **\"folder_name\"** variable. \n\nFor example: if you have a folder full of photos and you want to organize them by year and they have file names such as:\n\n    2012-Family.jpg\n    2017-Dog.png\n    2017-Holiday.jpg\n    2012-Park.jpg \n    ...\n    \nSet the **file split** value as:\n\n    file.split('-')[0]\n    \nThe script will read the file names as far as the first '-' and it will create two folders, **2017** and **2012**. In these folders will be the corresponding files with the same value.\n\n\nIf you wanted to organize the file by month and the files were named as:\n\n    2012-12-Family.jpg\n    2017-08-Dog.png\n    2017-08-Holiday.jpg\n    2012-12-Park.jpg\n    ...\n\nSet the **file.split** value as:\n\n    file.split('-')[1]\n\nand the script will organize the files as far as the second '-' so it will produce two folders, **08** and **12**. In these folders will be the corresponding files with the same value.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrayedfunction%2Ffile_sort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrayedfunction%2Ffile_sort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrayedfunction%2Ffile_sort/lists"}