Split text files for iPod Notes usage via Perl
Tue, Jul 22 2008 at 7:30AM PDT • Contributed by: Anonymous
Tue, Jul 22 2008 at 7:30AM PDT • Contributed by: Anonymous
I've created a simple Perl script that splits a text file into 4KB parts to use within iPod Notes. Usage is pretty simple:
[robg adds: I haven't tested this one.]
- 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
[robg adds: I haven't tested this one.]
•
[6,787 views]
