Reply
Thread Tools
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#1
Does anyone know of a "tree" command directory listing utility compatible with Nokia 770?
 
Posts: 114 | Thanked: 7 times | Joined on Jan 2006
#2
Originally Posted by ascherjim
Does anyone know of a "tree" command directory listing utility compatible with Nokia 770?
perhaps 'find' is what you want.

ie,

find / | more

will search from the very top of the dir. structure and show you everything (readable by the user you're running as)

or: find . to start listing from where you are.

there are a few other command line params for find (such as -exec)
 
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#3
Thanks for your suggestion. The "find" command does indeed list all the files on the Nokia (and there sure are lots of them!), but I do miss the formatting of a "tree" command with its indentations of subdirectories under directories, and files under directories and subdirectories. But this is perhaps quibbling on my part. Thanks again.
 
Posts: 114 | Thanked: 7 times | Joined on Jan 2006
#4
Originally Posted by ascherjim
Thanks for your suggestion. The "find" command does indeed list all the files on the Nokia (and there sure are lots of them!), but I do miss the formatting of a "tree" command with its indentations of subdirectories under directories, and files under directories and subdirectories. But this is perhaps quibbling on my part. Thanks again.

While quite not as visually useful as the tree, the other options is "ls -R" to recurse.. you can tweak the parameters (man ls on a regular *nix distro) to adjust the formatting, but just as that will give you sections for each dir.
 

The Following User Says Thank You to spycedtx For This Useful Post:
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#5
You are right. ls -R is somewhat better. There is a pretty good tree program at ftp://mama.indstate.edu/linux/tree written in CC+, but I regret I'm not qualified to modify it for the Nokia. Thanks once again for your thoughts and advice in this matter. Jim
 
Posts: 190 | Thanked: 5 times | Joined on Nov 2005 @ Bee-u-tee-ful Garden Home, Oregon
#6
Ask and you shall receive. Please give this a try.

Brad.
Attached Files
File Type: deb tree_1.5.0-2_armel.deb (17.1 KB, 394 views)
 

The Following User Says Thank You to bradb For This Useful Post:
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#7
Brad: Many thanks. It works perfectly. And what fast work! Trust you'll post it more widely on the off chance anyone else might be interested. And thanks again to you, "Spy," for your suggestions. Regards to you both, Jim

Last edited by ascherjim; 2006-08-14 at 05:56. Reason: Grammar correction.
 
Posts: 190 | Thanked: 5 times | Joined on Nov 2005 @ Bee-u-tee-ful Garden Home, Oregon
#8
Jim-

Glad to help. My current project was making me crazy so it was nice to do something simple for a change.

And yes, I'll be adding this to the application catalog in the next day or so (as well as adding another port or two).

Brad.
 
Posts: 833 | Thanked: 124 times | Joined on Nov 2007 @ Based in the USA
#9
Just a bump for a neat Unix utility that works on Diablo.
Note - it created a 64Mb file on my setup.
__________________
N810, iGo bt kb, Diablo, 10Gb storage onboard instead of a Thinkpad
OTG w/ unlimited storage!!
Put a penguin in your pocket!!
PLEASE use the Wiki
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:07.