Split text files for iPod Notes usage via Perl

Courtesy MacOSXHints.com  Tue, 07/22/2008 - 09:30

I've created a simple Perl script that splits a text file into 4KB parts to use within iPod Notes. Usage is pretty simple:

  1. 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).
  2. 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...


 

Related items

Linux Needs More Haters
Corrupt brings us a ZDNet column by Jeremy Allison, who says Linux could benefit from more "tough love" in order to improve its functionality and...

Simple Perl Script To Ease Console Server Use On Linux And Unix
The Linux and Unix Menagerie: "Technically, this script could be used for any server which accepts connections over telnet (Which this script is set...

Create aliases to icons via a Perl script
Often I read the question "Where are all the icons on my Mac?" Here is the answer, in the form of a Perl script. Just copy and paste the below code...

10.5: Switch search locations via keyboard shortcut
I discovered this tonight. If you initiate a search in the Finder (Command-F) from a folder (other than your user's home folder), the Search criteria...

Fix path to home folder after external drive mount failure
In Leopard, if you've changed your home path from your Mac's internal hard disk to an external hard disk, as in this hint, and maybe you turned off...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
motd.ambians.com