[Thread Prev][Thread Next][Thread Index]

Re: filename convention for notes files



> I use Japanese, where a character could be two bytes long, 
> in my memo, and PilogManager SyncMemo conduit seems to
> split a character in the middle (between the 1st and 2nd
> byte) sometimes, the generated filenames cannot be
> handled by the OS reliably.  So I'd prefer the SyncMemo
> conduit always use the numerical filenames.  Is there
> an option to allow me to do that?

Search SyncMemo.pm for this line:

$file = $fname = &mktemp(($a1=$file), $fname);

and change it to:

$file = $fname = &mktemp(($a1=$file));

(remove the $fname parameter)

This won't rename any existing files, but when new pilot memos are copied
to the desktop they should all be of the form Memo0000.txt

	- Alan
------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo