Useful commands, Barry. However, I fear we've moved to giving someone
the fish, rather than teaching how to fish.


I love the cli because it's so very powerful and capable of tasks never
dreamt of in graphical extrapolations. But, I doubt any of us learned
find as our first shell command, let alone xargs.

I guess I turn into an evangelist when someone says something like "I
don't know beans about the terminal." Just explaining my perspective on
this.

Janina

Barry Hadder writes:
> upon further reflection, you probably only want to get the base name of the 
> title.
> 
> find -E . -regex '.*[a-zA-Z0-9 ()]+\.mp3' -print0|xargs -0 -J % basename %
> 
> > On Jan 20, 2019, at 8:19 AM, Barry Hadder <bhad...@gmail.com> wrote:
> > 
> > Or, you can do this:
> > find -E . -regex '.*[a-zA-Z0-9 ()]+\.mp3' > titles.txt
> > You can go to a folder by copping it in terminal and pasting as the 
> > argument to the cd command.
> > 
> > On Jan 20, 2019, at 6:52 AM, 'Bill Gallik' via MacVisionaries 
> > <macvisionaries@googlegroups.com> wrote:
> >> 
> >> Janina’s recommendation is "spot on;” keep in mind though that the output 
> >> file (myfiles.txt in this case) will also appear in the list, if it 
> >> doesn’t matter then so be it.
> >> 
> >> But, if you don’t want myfiles.txt to be listed in itself you might want 
> >> to use the line:
> >> 
> >>    ls -1 >../myfiles.txt
> >> 
> >> This will create the output file one directory above the current directory 
> >> you are creating the list for and will then not appear as one of the names 
> >> listed in itself.
> >> 
> >> 
> >> ****************
> >> - Bill from Ino, Wisconsin
> >> - "Of all the things I've lost, I miss my mind the most."
> >> - Contributor Unknown but I surely could claim it as my own!
> >> 
> >> On Jan 20, 2019, at 4:32 AM, 'Janina Sajka' via MacVisionaries 
> >> <macvisionaries@googlegroups.com> wrote:
> >> 
> >> So, just for completeness, basic beans on the Terminal are pretty easy.
> >> 
> >> The hardest thing is often getting to the right place for issuing
> >> commands. Example: If the files you want to create a list of are in your
> >> Documents folder (often called a directory in terminal-speak), you need
> >> to change to that directory like this:
> >> 
> >> cd Documents
> >> 
> >> Now you can get a list of all files one per line like this:
> >> 
> >> ls -1
> >> 
> >> And, to put that output, i.e. all those filenames in a file one per
> >> line, you just add the redirection symbol and a filename for the output
> >> like this:
> >> 
> >> ls -1 > myfile.txt
> >> 
> >> Now the file myfile.txt has that list of filenames one per line. And,
> >> you can access myfiles.txt in any of the usual ways, not just the
> >> terminal.
> >> 
> >> hth
> >> 
> >> Janina
> >> 
> >> Lorie McCloud writes:
> >>> my problem with that is that I don't know beans about using the terminal.
> >>> My Youtube Channel:
> >>> "www.youtube.com/loriemccloud                             
> >>> 
> >>>> On Jan 18, 2019, at 1:40 AM, Simon Fogarty <si...@blinky-net.com> wrote:
> >>>> 
> >>>> If your wanting the names of files etc in a document,
> >>>> Then I go with what I think it was Jonathan said,
> >>>> 
> >>>> Use the terminal.
> >>>> But in a slightly different way,
> >>>> Use LS to list all the files but if you can pipe that into a file then 
> >>>> you could copy the contents of that file out to your email 
> >>>> 
> >>>> -----Original Message-----
> >>>> From: macvisionaries@googlegroups.com <macvisionaries@googlegroups.com> 
> >>>> On Behalf Of Lorie McCloud
> >>>> Sent: Wednesday, 16 January 2019 2:26 PM
> >>>> To: 'E.T.' via MacVisionaries <macvisionaries@googlegroups.com>
> >>>> Subject: Re: selecting text on a Mac
> >>>> 
> >>>> no. it sounded like more work than copying the individual titles 
> >>>> primarily because I would have to open another program. I suspect this 
> >>>> is just personal preference.
> >>>> My Youtube Channel:
> >>>> "www.youtube.com/loriemccloud                            
> >>>> 
> >>>>> On Jan 15, 2019, at 7:22 PM, 'E.T.' via MacVisionaries 
> >>>>> <macvisionaries@googlegroups.com> wrote:
> >>>>> 
> >>>>> Did you try my suggestion?
> >>>>> 
> >>>>> From E.T.'s Keyboard...
> >>>>> ancient.ali...@icloud.com
> >>>>> Many believe that we have been visited in the past. What if it were 
> >>>>> true?
> >>>>> 
> >>>>> On 1/15/2019 4:32 PM, Lorie McCloud wrote:
> >>>>>> I know next to nothing about terminal so I didn't understand those 
> >>>>>> instructions at all. I'm glad to know there are several ways to do it. 
> >>>>>> maybe one of these days I'll learn about the terminal. I used to use a 
> >>>>>> unix shell back in the old days. meanwhile the one I tried was 
> >>>>>> pressing enter and copying the text. couldn't do them all at once but 
> >>>>>> it worked great.
> >>>>>>> On Jan 15, 2019, at 5:22 PM, Jonathan Cohn <jon.c.c...@gmail.com 
> >>>>>>> <mailto:jon.c.c...@gmail.com>> wrote:
> >>>>>>> 
> >>>>>>> Well, assuming you have open shell at current location service then 
> >>>>>>> you could right click on the directory and find open terminal window 
> >>>>>>> at current location. Then you could use the "ls" command or possibly 
> >>>>>>> ls -l if you need the details.
> >>>>>>> 
> >>>>>>> Then you can copy the output from terminal.
> >>>>>>> 
> >>>>>>> ISn't it wonderful how there are so many ways to do this?
> >>>>>>> 
> >>>>>>> Best wishes,
> >>>>>>> 
> >>>>>>> Jonathan Cohn
> >>>>>>> 
> >>>>>>> 
> >>>>>>> 
> >>>>>>>> On Jan 15, 2019, at 3:11 PM, 'E.T.' via MacVisionaries 
> >>>>>>>> <macvisionaries@googlegroups.com 
> >>>>>>>> <mailto:macvisionaries@googlegroups.com>> wrote:
> >>>>>>>> 
> >>>>>>>> Select all the titles you want, do a copy, then paste into TextEdit 
> >>>>>>>> and save as a .txt file. Don't know if this wi work to paste into an 
> >>>>>>>> email but you can attach the file.
> >>>>>>>> 
> >>>>>>>> From E.T.'s Keyboard...
> >>>>>>>> ancient.ali...@icloud.com <mailto:ancient.ali...@icloud.com>
> >>>>>>>> Many believe that we have been visited in the past. What if it were 
> >>>>>>>> true?
> >>>>>>>> 
> >>>>>>>> On 1/15/2019 11:56 AM, Lorie McCloud wrote:
> >>>>>>>>> I have a list of mp3 files in a folder. I want to copy the titles 
> >>>>>>>>> and paste them into an email. how do I do this? I have some 
> >>>>>>>>> instructions that say shift-option-right arrow selects by word but 
> >>>>>>>>> I don't hear anything when I do that.
> >>>>>>>>> thanks.
> >>>>>>>>> Lorie
> >>>>>>>> 
> >>>>>>>> --
> >>>>>>>> The following information is important for all members of the Mac 
> >>>>>>>> Visionaries list.
> >>>>>>>> 
> >>>>>>>> If you have any questions or concerns about the running of this 
> >>>>>>>> list, or if you feel that a member's post is inappropriate, please 
> >>>>>>>> contact the owners or moderators directly rather than posting on the 
> >>>>>>>> list itself.
> >>>>>>>> 
> >>>>>>>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach 
> >>>>>>>> mark at: mk...@ucla.edu <mailto:mk...@ucla.edu> and your owner is 
> >>>>>>>> Cara Quinn - you can reach Cara at caraqu...@caraquinn.com 
> >>>>>>>> <mailto:caraqu...@caraquinn.com>
> >>>>>>>> 
> >>>>>>>> The archives for this list can be searched at:
> >>>>>>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >>>>>>>> --- You received this message because you are subscribed to the 
> >>>>>>>> Google Groups "MacVisionaries" group.
> >>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
> >>>>>>>> send an email to macvisionaries+unsubscr...@googlegroups.com 
> >>>>>>>> <mailto:macvisionaries+unsubscr...@googlegroups.com>.
> >>>>>>>> To post to this group, send email to macvisionaries@googlegroups.com 
> >>>>>>>> <mailto:macvisionaries@googlegroups.com>.
> >>>>>>>> Visit this group at https://groups.google.com/group/macvisionaries.
> >>>>>>>> For more options, visit https://groups.google.com/d/optout.
> >>>>>>> 
> >>>>>>> 
> >>>>>>> --
> >>>>>>> The following information is important for all members of the Mac 
> >>>>>>> Visionaries list.
> >>>>>>> 
> >>>>>>> If you have any questions or concerns about the running of this list, 
> >>>>>>> or if you feel that a member's post is inappropriate, please contact 
> >>>>>>> the owners or moderators directly rather than posting on the list 
> >>>>>>> itself.
> >>>>>>> 
> >>>>>>> Your Mac Visionaries list moderator is Mark Taylor. You can reach 
> >>>>>>> mark at: mk...@ucla.edu <mailto:mk...@ucla.edu> and your owner is 
> >>>>>>> Cara Quinn - you can reach Cara at caraqu...@caraquinn.com 
> >>>>>>> <mailto:caraqu...@caraquinn.com>
> >>>>>>> 
> >>>>>>> The archives for this list can be searched at:
> >>>>>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >>>>>>> ---
> >>>>>>> You received this message because you are subscribed to the Google 
> >>>>>>> Groups "MacVisionaries" group.
> >>>>>>> To unsubscribe from this group and stop receiving emails from it, 
> >>>>>>> send an email to macvisionaries+unsubscr...@googlegroups.com 
> >>>>>>> <mailto:macvisionaries+unsubscr...@googlegroups.com>.
> >>>>>>> To post to this group, send email to macvisionaries@googlegroups.com 
> >>>>>>> <mailto:macvisionaries@googlegroups.com>.
> >>>>>>> Visit this group at https://groups.google.com/group/macvisionaries.
> >>>>>>> For more options, visit https://groups.google.com/d/optout.
> >>>>>> --
> >>>>>> The following information is important for all members of the Mac 
> >>>>>> Visionaries list.
> >>>>>> If you have any questions or concerns about the running of this list, 
> >>>>>> or if you feel that a member's post is inappropriate, please contact 
> >>>>>> the owners or moderators directly rather than posting on the list 
> >>>>>> itself.
> >>>>>> Your Mac Visionaries list moderator is Mark Taylor. You can reach 
> >>>>>> mark at: mk...@ucla.edu and your owner is Cara Quinn - you can reach 
> >>>>>> Cara at caraqu...@caraquinn.com The archives for this list can be 
> >>>>>> searched at:
> >>>>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >>>>>> ---
> >>>>>> You received this message because you are subscribed to the Google 
> >>>>>> Groups "MacVisionaries" group.
> >>>>>> To unsubscribe from this group and stop receiving emails from it, send 
> >>>>>> an email to macvisionaries+unsubscr...@googlegroups.com 
> >>>>>> <mailto:macvisionaries+unsubscr...@googlegroups.com>.
> >>>>>> To post to this group, send email to macvisionaries@googlegroups.com 
> >>>>>> <mailto:macvisionaries@googlegroups.com>.
> >>>>>> Visit this group at https://groups.google.com/group/macvisionaries.
> >>>>>> For more options, visit https://groups.google.com/d/optout.
> >>>>> 
> >>>>> --
> >>>>> The following information is important for all members of the Mac 
> >>>>> Visionaries list.
> >>>>> 
> >>>>> If you have any questions or concerns about the running of this list, 
> >>>>> or if you feel that a member's post is inappropriate, please contact 
> >>>>> the owners or moderators directly rather than posting on the list 
> >>>>> itself.
> >>>>> 
> >>>>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach 
> >>>>> mark at:  mk...@ucla.edu and your owner is Cara Quinn - you can reach 
> >>>>> Cara at caraqu...@caraquinn.com
> >>>>> 
> >>>>> The archives for this list can be searched at:
> >>>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >>>>> --- You received this message because you are subscribed to the Google 
> >>>>> Groups "MacVisionaries" group.
> >>>>> To unsubscribe from this group and stop receiving emails from it, send 
> >>>>> an email to macvisionaries+unsubscr...@googlegroups.com.
> >>>>> To post to this group, send email to macvisionaries@googlegroups.com.
> >>>>> Visit this group at https://groups.google.com/group/macvisionaries.
> >>>>> For more options, visit https://groups.google.com/d/optout.
> >>>> 
> >>>> --
> >>>> The following information is important for all members of the Mac 
> >>>> Visionaries list.
> >>>> 
> >>>> If you have any questions or concerns about the running of this list, or 
> >>>> if you feel that a member's post is inappropriate, please contact the 
> >>>> owners or moderators directly rather than posting on the list itself.
> >>>> 
> >>>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark 
> >>>> at:  mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> >>>> caraqu...@caraquinn.com
> >>>> 
> >>>> The archives for this list can be searched at:
> >>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >>>> ---
> >>>> You received this message because you are subscribed to the Google 
> >>>> Groups "MacVisionaries" group.
> >>>> To unsubscribe from this group and stop receiving emails from it, send 
> >>>> an email to macvisionaries+unsubscr...@googlegroups.com.
> >>>> To post to this group, send email to macvisionaries@googlegroups.com.
> >>>> Visit this group at https://groups.google.com/group/macvisionaries.
> >>>> For more options, visit https://groups.google.com/d/optout.
> >>>> 
> >>>> -- 
> >>>> The following information is important for all members of the Mac 
> >>>> Visionaries list.
> >>>> 
> >>>> If you have any questions or concerns about the running of this list, or 
> >>>> if you feel that a member's post is inappropriate, please contact the 
> >>>> owners or moderators directly rather than posting on the list itself.
> >>>> 
> >>>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark 
> >>>> at:  mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> >>>> caraqu...@caraquinn.com
> >>>> 
> >>>> The archives for this list can be searched at:
> >>>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >>>> --- 
> >>>> You received this message because you are subscribed to the Google 
> >>>> Groups "MacVisionaries" group.
> >>>> To unsubscribe from this group and stop receiving emails from it, send 
> >>>> an email to macvisionaries+unsubscr...@googlegroups.com.
> >>>> To post to this group, send email to macvisionaries@googlegroups.com.
> >>>> Visit this group at https://groups.google.com/group/macvisionaries.
> >>>> For more options, visit https://groups.google.com/d/optout.
> >>> 
> >>> -- 
> >>> The following information is important for all members of the Mac 
> >>> Visionaries list.
> >>> 
> >>> If you have any questions or concerns about the running of this list, or 
> >>> if you feel that a member's post is inappropriate, please contact the 
> >>> owners or moderators directly rather than posting on the list itself.
> >>> 
> >>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark 
> >>> at:  mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> >>> caraqu...@caraquinn.com
> >>> 
> >>> The archives for this list can be searched at:
> >>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >>> --- 
> >>> You received this message because you are subscribed to the Google Groups 
> >>> "MacVisionaries" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send an 
> >>> email to macvisionaries+unsubscr...@googlegroups.com.
> >>> To post to this group, send email to macvisionaries@googlegroups.com.
> >>> Visit this group at https://groups.google.com/group/macvisionaries.
> >>> For more options, visit https://groups.google.com/d/optout.
> >> 
> >> -- 
> >> 
> >> Janina Sajka
> >> 
> >> Linux Foundation Fellow
> >> Executive Chair, Accessibility Workgroup:  http://a11y.org
> >> 
> >> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
> >> Chair, Accessible Platform Architectures   http://www.w3.org/wai/apa
> >> 
> >> -- 
> >> The following information is important for all members of the Mac 
> >> Visionaries list.
> >> 
> >> If you have any questions or concerns about the running of this list, or 
> >> if you feel that a member's post is inappropriate, please contact the 
> >> owners or moderators directly rather than posting on the list itself.
> >> 
> >> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark 
> >> at:  mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> >> caraqu...@caraquinn.com
> >> 
> >> The archives for this list can be searched at:
> >> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >> --- 
> >> You received this message because you are subscribed to the Google Groups 
> >> "MacVisionaries" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an 
> >> email to macvisionaries+unsubscr...@googlegroups.com.
> >> To post to this group, send email to macvisionaries@googlegroups.com.
> >> Visit this group at https://groups.google.com/group/macvisionaries.
> >> For more options, visit https://groups.google.com/d/optout.
> >> 
> >> 
> >> -- 
> >> The following information is important for all members of the Mac 
> >> Visionaries list.
> >> 
> >> If you have any questions or concerns about the running of this list, or 
> >> if you feel that a member's post is inappropriate, please contact the 
> >> owners or moderators directly rather than posting on the list itself.
> >> 
> >> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: 
> >> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> >> caraqu...@caraquinn.com
> >> 
> >> The archives for this list can be searched at:
> >> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> >> --- 
> >> You received this message because you are subscribed to the Google Groups 
> >> "MacVisionaries" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an 
> >> email to macvisionaries+unsubscr...@googlegroups.com.
> >> To post to this group, send email to macvisionaries@googlegroups.com.
> >> Visit this group at https://groups.google.com/group/macvisionaries.
> >> For more options, visit https://groups.google.com/d/optout.
> > 
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> caraqu...@caraquinn.com
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To post to this group, send email to macvisionaries@googlegroups.com.
> Visit this group at https://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.

-- 

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:       http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures        http://www.w3.org/wai/apa

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at https://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to