This extension requires yifanlu's guilauncher to work. It is only tested a 
bit with https://github.com/downloads/yifanlu/KindleLauncher/kindle_launcher_1.0.zip.
Use at your own risk. 

unrar this package, copy the whole collectionSync directory into kindle drive's 
extentsions/ directory(available only after you install the launcher). Reboot.
You should see a new menu in launcher->"generate collections". 

Be careful!! Any existing collections will be deleted, new collections with be 
created according to currrent contents on the drive:
   a/b.txt
   a/c/d.txt
   a/c/e.txt
=> a(1)
   a-c(2)

Happy Hacking.

In Chinese:

չyifanluguilauncherȰװhttps://github.com/downloads/yifanlu/
KindleLauncher/kindle_launcher_1.0.zipȻѱװѹõcollectSyncĿ¼
kindleextensionsĿ¼£ͻῴmenu-launcher˵µѡ"generate
collections",ѡкͻkindleĿ¼µɷࡣűûгֲԣֻ
Ϊ˸ṩһƷһhackܱ֤kindle touchҲκ
ո

ע⣬Ϊ˱ظɷ࣬ɷ֮ǰз඼ᱻɾdocumentsĿ¼µݣ
ֻҪĳĿ¼ļͻӦ࣬Ŀ¼ɣ磺
   a/b.txt
   a/c/d.txt
   a/c/e.txt
ɣ
   a(1)   //aһļ
   a-c(2) //a-cļ

Fuxin Zhang
2012/1/10