Sorting files on your FAT 32 SD card [til/cli]

Windows (as usual) has lots of options, this seems popular: https://www.anerty.net/software/file/DriveSort/ – but Mac users? ?
I’m on a mac so this is the solution I finally found (which might also work on linux).
First you’ll need to install fatsort – best method I’ve found is using https://brew.sh via brew install fatsort. Then using your favourite terminal app:

Put sd card in your machine (Mac/PC) and run mount on the command line – take note of the /dev/… path NEXT is mounted on (for instance, mine is /dev/disk2`
Unmount from the command line using diskutil unmount /Volumes/NEXT (leave the sd card inserted)
Run fatsort as root: sudo fatsort -D /GAMES/ -a -c -o a /dev/disk2 – this says to only sort /GAMES and all the sub directories (-D), and ascii sort (-a), ignore casing (-c), files and directories are not differentiated (-o a)

Now my /GAMES directory is sorted and easier to navigate ?


This content originally appeared on remy sharp's b:log and was authored by remy sharp's b:log

Windows (as usual) has lots of options, this seems popular: https://www.anerty.net/software/file/DriveSort/ - but Mac users? ?

I'm on a mac so this is the solution I finally found (which might also work on linux).

First you'll need to install fatsort - best method I've found is using https://brew.sh via brew install fatsort. Then using your favourite terminal app:

  • Put sd card in your machine (Mac/PC) and run mount on the command line - take note of the /dev/… path NEXT is mounted on (for instance, mine is /dev/disk2`
  • Unmount from the command line using diskutil unmount /Volumes/NEXT (leave the sd card inserted)
  • Run fatsort as root: sudo fatsort -D /GAMES/ -a -c -o a /dev/disk2 - this says to only sort /GAMES and all the sub directories (-D), and ascii sort (-a), ignore casing (-c), files and directories are not differentiated (-o a)

Now my /GAMES directory is sorted and easier to navigate ?

Originally published on Remy Sharp's b:log


This content originally appeared on remy sharp's b:log and was authored by remy sharp's b:log


Print Share Comment Cite Upload Translate Updates
APA

remy sharp's b:log | Sciencx (2020-12-18T13:31:42+00:00) Sorting files on your FAT 32 SD card [til/cli]. Retrieved from https://www.scien.cx/2020/12/18/sorting-files-on-your-fat-32-sd-card-til-cli/

MLA
" » Sorting files on your FAT 32 SD card [til/cli]." remy sharp's b:log | Sciencx - Friday December 18, 2020, https://www.scien.cx/2020/12/18/sorting-files-on-your-fat-32-sd-card-til-cli/
HARVARD
remy sharp's b:log | Sciencx Friday December 18, 2020 » Sorting files on your FAT 32 SD card [til/cli]., viewed ,<https://www.scien.cx/2020/12/18/sorting-files-on-your-fat-32-sd-card-til-cli/>
VANCOUVER
remy sharp's b:log | Sciencx - » Sorting files on your FAT 32 SD card [til/cli]. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/12/18/sorting-files-on-your-fat-32-sd-card-til-cli/
CHICAGO
" » Sorting files on your FAT 32 SD card [til/cli]." remy sharp's b:log | Sciencx - Accessed . https://www.scien.cx/2020/12/18/sorting-files-on-your-fat-32-sd-card-til-cli/
IEEE
" » Sorting files on your FAT 32 SD card [til/cli]." remy sharp's b:log | Sciencx [Online]. Available: https://www.scien.cx/2020/12/18/sorting-files-on-your-fat-32-sd-card-til-cli/. [Accessed: ]
rf:citation
» Sorting files on your FAT 32 SD card [til/cli] | remy sharp's b:log | Sciencx | https://www.scien.cx/2020/12/18/sorting-files-on-your-fat-32-sd-card-til-cli/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.