Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I combine multiple text files into a single, alphabetized list?

I have many, many lists of song titles. Each in its own textedit file. There is tons of overlap and duplication. I want to make a master list that has every song listed.

If I could somehow just merge them all and alphabetize the lines, I could manually get rid of duplicates fairly easily.

I have Tiger. Don't know if I have any application that would help. I probably don't want to buy an application, though, because I suspect I may not be able to stick with Tiger much longer.

I appreciate any tips you can give me.

Thanks a lot,
Bruce

powermac g5, Mac OS X (10.4.11)

Posted on Nov 22, 2009 12:20 PM

Reply
Question marked as Best reply

Posted on Nov 22, 2009 12:54 PM

If you have Word, copy & paste the file names into a document.

Then select all of the file names & then under Table, select Sort.

 Cheers, Tom 😉

User uploaded file
10 replies

Nov 22, 2009 7:01 PM in response to Texas Mac Man

NeoOffice is freeware.

"NeoOffice is a full-featured set of office applications (including word processing, spreadsheet, and presentation programs) for Mac OS X. We have created an office suite that is adapted to the unique needs of Mac users by taking the features in Sun Microsystems' OpenOffice.org office suite"
http://www.neooffice.org/neojava/en/index.php

edit > highlight all

tools > sort

Nov 24, 2009 9:16 PM in response to Bruce Delaplain1

that sounds great Camelot. Will you give me the details on how/where to do that?


Open /Applications/Utilities/Terminal.app

Type 'sort ' (without the quotes, note the trailing space, and do NOT press return)

Drag the file(s) that you want to sort to the terminal window

type '> sorted.txt' (without the quotes)

Press return. Sort will read the files, sort them and put the sorted list into the file called 'sorted.txt' in your home directory.

How can I combine multiple text files into a single, alphabetized list?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.