Jul 22
Split text files for iPod Notes usage via Perl
Cats: News|
I've created a simple Perl script that splits a text file into 4KB parts to use within iPod Notes. Usage is pretty simple:
- Copy and paste the script (macosxhints mirror) into a plain text file named makenotes.pl on your system. Remember to make the script executable (chmod 755 makenotes.pl).
- Put the script and the text you want to split into a directory. For this example, assume the directory is named book and located in your user's home folder.
- Open up a Terminal and go to that directory: cd ~/book
- Run the script with the filename (or filenames) as arguments: ./makenotes.pl colourofmagic.txt
Leave a Reply
You must be logged in to post a comment.
Subscribe