{"id":17070497,"url":"https://github.com/oakmac/usb-file-sorter","last_synced_at":"2026-05-08T14:06:09.623Z","repository":{"id":66970633,"uuid":"55856085","full_name":"oakmac/usb-file-sorter","owner":"oakmac","description":"Sort files on a USB drive","archived":false,"fork":false,"pushed_at":"2016-06-04T02:02:13.000Z","size":65,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T08:37:43.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oakmac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-04-09T16:53:34.000Z","updated_at":"2016-05-15T04:31:42.000Z","dependencies_parsed_at":"2023-05-16T07:00:19.860Z","dependency_job_id":null,"html_url":"https://github.com/oakmac/usb-file-sorter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oakmac/usb-file-sorter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fusb-file-sorter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fusb-file-sorter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fusb-file-sorter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fusb-file-sorter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oakmac","download_url":"https://codeload.github.com/oakmac/usb-file-sorter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oakmac%2Fusb-file-sorter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32783469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-14T11:31:51.348Z","updated_at":"2026-05-08T14:06:09.596Z","avatar_url":"https://github.com/oakmac.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# USB File Sorter\n\nMy car stereo supports playing mp3 files off of a USB thumbdrive. Unfortunately,\nit doesn't always sort files and folders alphabetically. Instead, it sorts them\nbased on the order they were put onto the drive. Some internet searching reveals\nI am not the only person with this problem: [1], [2], [3].\n\nThis is a little script that I use to solve the problem. It's pretty simple and\ncould be extended with more features and a GUI, etc. I just wanted to upload it\nfor posterity and in hopes that it might help someone else with the same\nproblem.\n\n## Usage\n\nInstall [Node.js]\n\n1. Create a backup of all of the files on your USB drive\n1. Delete all the files from your USB drive.\n1. Run `npm install` to install the required node packages\n1. Run `./app.js \u003csourcePath\u003e \u003cdestinationPath\u003e` with the appropriate folders and wait as the files are copied over.\n\n\n```\n$ ./app.js --help\n\n  Usage: app \u003csource\u003e \u003cdestination\u003e\n\n  Sort files and folders alphabetically on a USB drive.\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n```\n\nThis package can also be installed globally via `npm install -g` and run with the command `usb-file-sorter`.\n\n## Future Features\n\n* Submit to npm\n* GUI\n* Do the re-ordering without having to delete everything and copying (I'm not\n  sure if this is even possible, but would be worth looking into)\n* Visual feedback as the files are copied over\n\n## Car Stereo Models\n\nThis list is of car stereo models that need the fix. Useful for SEO when people\nare searching for their model number.\n\n* Pioneer AVH-P2400BT\n* 2012 Honda Civic Factory Radio CD Player 39100-TR0-A81\n\nSend a PR or [open an issue] with your model number to add it to this list.\n\n## License\n\n[ISC License]\n\n[1]:http://www.murraymoffatt.com/software-problem-0010.html\n[2]:http://avic411.com/index.php?/topic/37189-track-ordering-broken-on-usb-and-sd-media/\n[3]:http://community.crutchfield.com/car_audio_and_video/f/27/receivers/t/25024/how-should-i-structure-audio-files-on-usb-drive-for-playback-on-pioneer-avh-p3400bh-head-unit\n[Node.js]:http://nodejs.org\n[open an issue]:https://github.com/oakmac/usb-file-sorter/issues\n[ISC License]:LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Fusb-file-sorter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foakmac%2Fusb-file-sorter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foakmac%2Fusb-file-sorter/lists"}