I was an OpenBSD admin in 2002-2003, Linux admin since 2001, IBM zVM admin since 2006. I find this snap/flatpak world confusing: bind mounts, virtual directories, multiple copies of the same libraries, apt-get dist-upgrade does not upgrade vulnerable libraries because there's a copy inside a snap. It's a mess.

Looks like you have the snap version of tree, so when you run it, it runs inside its own snap container and cannot access Brave container, so it won't list anything. Looking at https://askubuntu.com/a/1245306/800622 I see that removing the snap version and installing the apt version should work. I cannot not test because one of the first things I do on my Ubuntu installations is purging any and every snap installed, removing snapd and blocking it from installing again with sudo apt-mark hold snapd.

I like Brave but I use Vivaldi. It's made by the team that made Opera great, the Opera from before. It's Chromium based, so all extensions work the same, all sites work the same. It's light on resources and very quick, so it's my daily driver since one of the first public releases, when it was in alpha stage and I was disappointed with Firefox sluggishness and Chrome privacy-invading features. And it has an official deb build.

Mauro
https://www.maurosouza.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Tue, Aug 12, 2025 at 8:05 PM CAREY SCHUG via Talk <talk@lists.gtalug.org> wrote:
Remember, non-expert here.  I was a Solaris sysasmin 1997-2001 or so, could do some piping and scripting, but haven't done that since, so forgot.

duh, since this is going directly to you, not just through list server, I can include a screenshot of the directory structure.

I could not find a way to do ls recursively, but NOT list files, just directories, and preferrably only x deep.  Remember a bazillion cache files and other cr*p.

a web search suggested "dir". same issue. 

I tried listing with dir to file, sorting to get hopefully just what I wanted together, but too long (12.5 mb) to delete other stuff.  At one time I could do a shell script to intelligently select lines, but I've forgotten how.

Had not heard of tree, was not installed, installed it, but:

carey@OptiPlex-7050:~/snap/brave$ tree ?
?  [error opening dir]

0 directories, 0 files
carey@OptiPlex-7050:~/snap/brave$ tree
.  [error opening dir]

0 directories, 1 file
carey@OptiPlex-7050:~/snap/brave$ man tree
No manual entry for tree


Carey

> On 08/12/2025 5:17 PM CDT D. Hugh Redelmeier via Talk <talk@lists.gtalug.org> wrote:
>

> > From: CAREY SCHUG via Talk <talk@lists.gtalug.org>
>
> > (I've been trying to find a way to copy the directory structure from my
> > file manager to plain text to post here, since I can't send images, no
> > luck)
>
> ls(1)?
> tree(1)?------------------------------------
Description: GTALUG Talk
Unsubscribe via Talk-unsubscribe@lists.gtalug.org
Start a new thread: talk@lists.gtalug.org
This message archived at https://lists.gtalug.org/archives/list/talk@lists.gtalug.org/message/KFDVSYRMHYCBPRQOZI62O5H4ZYWQKYWF/