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.
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
Asked: 2019-10-11 13:45:46 +0300
Seen: 637 times
Last updated: Oct 11 '19
There does not seem to be such a package - you can search for packages with
dyraig ( 2019-10-11 14:06:48 +0300 )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.textto 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 +0300 )editthank you @szopin. Downloaded and
chappi ( 2019-10-11 15:34:08 +0300 )edit[root@Sailfish nemo]# pkcon install-local tree-1.7.0-10.9.1.jolla_.armv7hl.rpmdid 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 +0300 )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 +0300 )edit