Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2008, 05:46 AM   #31
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by HarryT View Post
Don't you think that generating a flat file list from a folder tree is actually rather more work than simply showing the folder tree in the first place?
No. I don't think so.
getting the contents of folders is easier than getting (let alone displaying) a tree structure.
Sony reader uses Montavista Linux with BusyBox
One of 280 unix utilities the BusyBox can be compiled to be is find.
So obtaining a list of all files in all subdirectories in, let's say, /opt/card is as simple as:
find /opt/card -type f
That is it.
Of course, you can get fancy, and have 'find' command list only files of supported types, and other stuff.
kacir is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Now I have internal memory problems on my PP jusmee Astak EZReader 6 04-03-2010 06:31 PM
Books on internal memory show as on Memory Stick doreenjoy Sony Reader 6 06-05-2009 02:08 AM
Formatted internal memory...what now swedish11 Bookeen 13 04-23-2009 02:08 AM
Formatted internal memory...what now swedish11 Bookeen 2 04-21-2009 04:47 AM
Internal Memory jlbfoot Sony Reader 3 12-16-2008 04:34 PM


All times are GMT -4. The time now is 02:32 PM.


MobileRead.com is a privately owned, operated and funded community.