Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Thrash911

macrumors 6502
Original poster
Sep 14, 2006
297
4
Jutland, Denmark
Hello people,

I need to sort files on a FAT drive (SD card). But I can't find an app that can do this on OS X.

This is a Windows app: http://www.anerty.net/software/file/DriveSort/?lang=en

Is there anything like this on OS X? I don't want anything I have to compile/build/make, since I think that is confusing as hell.. :eek: I found YAFS for mac, but that required a library I could not find for OS X. :mad:

I prefer a GUI app, but I am not allergic to Terminal.. Is there anything like this for OS X? I'm on 10.9.2, Maverick.
 
Last edited:

meme1255

macrumors 6502a
Jul 15, 2012
742
594
Czechia
Touch command changes timestamp. How'd you like to sort you files? Alphabetically? Simply combine touch, ls and sort commands depending on your desired result :)

How would you like to sort your files?
 

Thrash911

macrumors 6502
Original poster
Sep 14, 2006
297
4
Jutland, Denmark
Touch command changes timestamp. How'd you like to sort you files? Alphabetically? Simply combine touch, ls and sort commands depending on your desired result :)
Unfortunately, that will not work. The files will have to be rearranged on the SD card, in order for it to work. I use the card on a "stupid" system, that reads the card "raw", and displays the files in the order it was written to the card.

But thanks. ;)
 

meme1255

macrumors 6502a
Jul 15, 2012
742
594
Czechia
It WILL work ;) As touch creates new timestamp (== date written), you can combine it with other commands in order to get your desired sorting :)
 

Thrash911

macrumors 6502
Original poster
Sep 14, 2006
297
4
Jutland, Denmark
Of all (few..) I have found so far for OS X, this one looks most promising, I think:

http://fatsort.sourceforge.net

Latest version is v1.2.355. But it will have to be compiled, by using make and install. I know nothing about this. I did try to run "make install" from terminal, but I got something like "man/fatsort.1: No such file or directory". This is where my "knowledge" stops.. :(

I would be eternally grateful, if someone in here who knows how, could guide me through this process, so I can get a binary. I have Xcode installed, so I should have the tools necessary.

----------

It WILL work ;) As touch creates new timestamp (== date written), you can combine it with other commands in order to get your desired sorting :)

Okay. What the hell, I'll give it a whirl.. :) I want EVERYTHING sorted alphabetically. There are several directories and sub directories. So.. What should I do? :)
 

Thrash911

macrumors 6502
Original poster
Sep 14, 2006
297
4
Jutland, Denmark
UPDATE:

I finally managed to compile and install it. There were two makefiles - I used the wrong one. It was the makefile in the 'src' subfolder I was supposed to use. And now I have successfully managed to sort the files on my FAT32 SD card. Now the files show up on the Amiga :)p) in correct alphabetical order. Yay!

It pays to be persistent. I learned something today. :) Thanks to everybody who tried to help me. Much appreciated!
 

d0nK

macrumors 6502
Nov 4, 2011
392
209
UK
Cheers for this info.
Exactly what I needed to sort the files on my HxC floppy emulator SD card.

I found this site helpful for installing and usage.

I also use CleanEject which delete's all the .spotlight, .trashes files, etc on eject.

I'm not affiliated with any of these sites that I've linked to btw.
 

beachball doom

macrumors member
Feb 1, 2016
40
8
Hey guys I was just trying to do this and wasted a solid hour or two with no success. I then changed tactics and got my mp3player sorted in only a few minutes using WINE to run one of several available windows applications. The one I used was freeware called "SD sorter".
 

Thomas Harte

macrumors 6502
Nov 30, 2005
400
4
Extremely late in the day but this seems to be my search engine's first result for the question, so: I found that using the Finder simply to move the files off their original media, setting a sort order on the folder into which I've moved them, and then moving them back seems to have the lucky side effect of preserving that order in the on-disk FAT ordering. And — as unintended as I'm sure it is — this has been true of at least the last few versions of macOS.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.