https://github.com/oakmac/usb-file-sorter
Sort files on a USB drive
https://github.com/oakmac/usb-file-sorter
Last synced: 26 days ago
JSON representation
Sort files on a USB drive
- Host: GitHub
- URL: https://github.com/oakmac/usb-file-sorter
- Owner: oakmac
- License: isc
- Created: 2016-04-09T16:53:34.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-04T02:02:13.000Z (almost 10 years ago)
- Last Synced: 2025-10-05T08:37:43.178Z (8 months ago)
- Language: JavaScript
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# USB File Sorter
My car stereo supports playing mp3 files off of a USB thumbdrive. Unfortunately,
it doesn't always sort files and folders alphabetically. Instead, it sorts them
based on the order they were put onto the drive. Some internet searching reveals
I am not the only person with this problem: [1], [2], [3].
This is a little script that I use to solve the problem. It's pretty simple and
could be extended with more features and a GUI, etc. I just wanted to upload it
for posterity and in hopes that it might help someone else with the same
problem.
## Usage
Install [Node.js]
1. Create a backup of all of the files on your USB drive
1. Delete all the files from your USB drive.
1. Run `npm install` to install the required node packages
1. Run `./app.js ` with the appropriate folders and wait as the files are copied over.
```
$ ./app.js --help
Usage: app
Sort files and folders alphabetically on a USB drive.
Options:
-h, --help output usage information
-V, --version output the version number
```
This package can also be installed globally via `npm install -g` and run with the command `usb-file-sorter`.
## Future Features
* Submit to npm
* GUI
* Do the re-ordering without having to delete everything and copying (I'm not
sure if this is even possible, but would be worth looking into)
* Visual feedback as the files are copied over
## Car Stereo Models
This list is of car stereo models that need the fix. Useful for SEO when people
are searching for their model number.
* Pioneer AVH-P2400BT
* 2012 Honda Civic Factory Radio CD Player 39100-TR0-A81
Send a PR or [open an issue] with your model number to add it to this list.
## License
[ISC License]
[1]:http://www.murraymoffatt.com/software-problem-0010.html
[2]:http://avic411.com/index.php?/topic/37189-track-ordering-broken-on-usb-and-sd-media/
[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
[Node.js]:http://nodejs.org
[open an issue]:https://github.com/oakmac/usb-file-sorter/issues
[ISC License]:LICENSE.md