tree command?
Didn't succeed when trying devel-su pkcon install tree
(as a maybe naive translation from 'apt install tree').
Is there a way to install tree on my Jolla? Thanks.
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Didn't succeed when trying devel-su pkcon install tree
(as a maybe naive translation from 'apt install tree').
Is there a way to install tree on my Jolla? Thanks.
It's available from openrepos: https://openrepos.net/content/shellkr/tree
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2019-10-11 13:45:46 +0200
Seen: 500 times
Last updated: Oct 11 '19
upgrade from terminal ( pkcon zypper ssu )
HowTo: Access command line with root privileges
Terminal should be available without developer mode [duplicate]
How to see pkcon update history? [answered]
Fingerterm terminal defaults to / as current working directory [duplicate]
Dev Mode settings -> SSH switchable for USB and WLAN independently
Fatal error: Authentication failed (is SSU set up correctly?) [answered]
There does not seem to be such a package - you can search for packages with
dyraig ( 2019-10-11 14:06:48 +0200 )editpkcon search NAME
.There is a similar approach you can use, it will list the contents of the current directory as a tree style format.
So if you just wanted to see the 'tree' of /home/nemo then you would type:
Or move to a particular directory, say root, then you would need to 'devel-su'; (the same command as above but with devel-su added)
If you wanted to 'print' your tree to a file for later viewing, add
> my-tree.text
to the end of the file, like this;When the text file is viewed, It should look like the following, which is part of my '/home/nemo' directory;
Spam Hunter ( 2019-10-11 14:28:14 +0200 )editthank you @szopin. Downloaded and
chappi ( 2019-10-11 15:34:08 +0200 )edit[root@Sailfish nemo]# pkcon install-local tree-1.7.0-10.9.1.jolla_.armv7hl.rpm
did work great.I went the openrepos route, but thank you for the interesting code (quite some grep/sed magic in there!)
chappi ( 2019-10-11 15:37:12 +0200 )edit@szopin you should convert your comment to an answer, seeing as your response comes much closer to what the OP asked for.
Converting my answer to a comment . . . .
Spam Hunter ( 2019-10-11 17:20:50 +0200 )edit