home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,457 of 138,051   
   Dave Royal to Dave Royal   
   Re: tree command weirdness   
   06 Jan 18 15:33:06   
   
   From: dave@dave123royal.com   
      
   On Sat, 06 Jan 2018 15:30:24 +0000, Dave Royal wrote:   
      
   > I have a directory 'music' which has many subdirectories, each with an   
   > artist name - e.g. 'Band'. Under each artist is a set of directories   
   > with an album name - e.g. 'Music from Big Pink' - and within that a set   
   > of mp3 tracks. I expect many people have something similar.   
   >   
   > If I use this command:   
   > tree -d  >~/temp/output1 I get a listing of which this is an extract -   
   > it shows the end of artists beginning with A and the start of those   
   > beginning with B:   
   > ├── Astor Piazzolla │   ├── Adiós noniño │   └──   
   Nuevo Tango Hora Zero   
   > ├── Band │   └── Music from Big Pink ├── Band of Hope   
   │   └── Rythm and   
   > Reds ├── Barbara │   └── LAigle noir   
   >   
   > I want to produce a list of only artists beginning with a specified   
   > letter. I should be able to do that with this command which should show   
   > the Bs:   
   > tree -d  -P B* >~/temp/output2   
   >   
   > output2 starts thus:   
   > Band of Hope └── Rythm and Reds Barbara └── LAigle noir   
   >   
   > So the first B artist is missing. This happens with any letter. If there   
   > is only one artist (Z for Zaz in my case) I get the complete A-Z list.   
   >   
   > I've tried various combinations of arguments, and ways of specifying the   
   > pattern, but I can't make it work. This is Leap 42.3 I've also tried on   
   > Debian.   
   >   
   > I begin to think this is a bug. Do others see the same? Any ideas?   
      
   Oops. Well - you you get the idea. Just imagine those ├ and └ are all   
   down the left hand edge ;)   
   --   
   (Remove any numerics from my email address.)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca