Christopher Chaltain writes: > I guess I'd need to see an example of how these characters trip someone up > in a file name using a BASH script while they are handled differently in the > DOS batch processor. With few exceptions, I find quoting literals to work > both in a script file and on the command line. > Here's the output of candidate filenames from the free cddb that tripped abcde up on a recent rip I performed. Note that abcde errored out, unable to complete the job in its usual way. Instead of these track names, I have files of the form track??.flac . So, you're proposing I can read each line from this file, enclose the string in quotes and do a mv? Does that work for you? It doesn't for me. If I try the very first track, I get a "no such file or directory" error. Retrieving 1 CDDB match...done. ---- Maurce Duruflé Organ - Aldo Ciccolini & Alexis Weissenberg Pianos - Orchestre De La Société Des Concerts Du Conservatoire - Georges Prêtre / Saint-Saëns Symphony No.3 Organ - Le Carnival Des Animeaux - Poulenc - Duruflé Organ - Orch Du Conservatoire - Prêtre - 1306 ---- 1: Saint-Saëns / Symphony No.3 Organ - 1. Adagio - Allegro Moderato 2: Saint-Saëns / Symphony No.3 Organ - 2. Poco Adagio 3: Saint-Saëns / Symphony No.3 Organ - 3. Allegro Moderato - Presto 4: Saint-Saëns / Symphony No.3 Organ - 4. Maestoso - Allegro 5: Saint-Saëns / Le Carnival Des Animeaux - 1. Introduction - Royal March Of The Lion 6: Saint-Saëns / Le Carnival Des Animeaux - 2. Hens And Cocks - Wild Asses 7: Saint-Saëns / Le Carnival Des Animeaux - 3. Tortoises - Elephant - Kangaroos 8: Saint-Saëns / Le Carnival Des Animeaux - 4. The Aquarium 9: Saint-Saëns / Le Carnival Des Animeaux - 5. Long Ears - Cuckoo In Woods 10: Saint-Saëns / Le Carnival Des Animeaux - 6. The Aviary 11: Saint-Saëns / Le Carnival Des Animeaux - 7. Pianists - Fossils 12: Saint-Saëns / Le Carnival Des Animeaux - 8. The Swan 13: Saint-Saëns / Le Carnival Des Animeaux - 9. Finale 14: Poulenc / Les Animaux Modèles - 1. Early Morning 15: Poulenc / Les Animaux Modèles - 2. The Lion In Love 16: Poulenc / Les Animaux Modèles - 3. The Middle-Aged Man & 2 Mistresses 17: Poulenc / Les Animaux Modèles - 4. Death And The Woodcutter 18: Poulenc / Les Animaux Modèles - 5. The Two Cockerels 19: Poulenc / Les Animaux Modèles - 6. The Midday Meal Janina > On 07/29/2015 09:11 AM, Janina Sajka wrote: > >It's awkward because it often doesn't stop at spaces. It often also > >involves commas, parenthesis, and similar reserved chars. > > > >Christopher Chaltain writes: > >>How is dealing with file names with blanks in them awkward? I put those file > >>names in quotes, just like I do in Windows and other operating systems. > >>Maybe DOS and the old 8.3 file names didn't support spaces in them, but I > >>would hardly consider this to be an advantage of DOS over Linux. > >> > >>On 07/29/2015 12:50 AM, Willem van der Walt wrote: > >>>Hi, > >>>You said: > >>>for example, dealing with filenames > >>>that contain spaces is awkward. > >>>One of the best things about unix, is that some one else likely had the > >>>same problem as what you are having now. > >>>There is likely a tool written to solve exactly one's problem. > >>>In the case of spaces in file names as well as other characters that can > >>>cause problems, the tool is called detox. > >>>It, for example, changes the & character into the word and. > >>>People using GUIs invariably create those sentences for file names, > >>>punctuation and all! > >>>Regards, Willem > >>> > >>> > >>>On Tue, 28 Jul 2015, Joel Roth wrote: > >>> > >>>>Janina Sajka wrote: > >>>>>I love scripting. It's fun, and it solves problems for me. > >>>> > >>>>There is a version of Linux, GoboLinux, with major utilities written > >>>>as shell scripts. > >>>> > >>>>**And** there are some well-known limitations and > >>>>infelicities in bash, for example, dealing with filenames > >>>>that contain spaces is awkward. > >>>> > >>>>Joel > >>>> > >>>>>Janina > >>>>> > >>>> > >>>>-- > >>>>Joel Roth > >>>> > >>>> > >>>>_______________________________________________ > >>>>Blinux-list mailing list > >>>>Blinux-list@xxxxxxxxxx > >>>>https://www.redhat.com/mailman/listinfo/blinux-list > >>>> > >>>>-- > >>>>This message is subject to the CSIR's copyright terms and conditions, > >>>>e-mail legal notice, and implemented Open Document Format (ODF) standard. > >>>>The full disclaimer details can be found at > >>>>http://www.csir.co.za/disclaimer.html. > >>>> > >>>>This message has been scanned for viruses and dangerous content by > >>>>MailScanner, > >>>>and is believed to be clean. > >>>> > >>>>Please consider the environment before printing this email. > >>>> > >>>> > >>> > >>>_______________________________________________ > >>>Blinux-list mailing list > >>>Blinux-list@xxxxxxxxxx > >>>https://www.redhat.com/mailman/listinfo/blinux-list > >> > >>-- > >>Christopher (CJ) > >>chaltain at Gmail > >> > >>_______________________________________________ > >>Blinux-list mailing list > >>Blinux-list@xxxxxxxxxx > >>https://www.redhat.com/mailman/listinfo/blinux-list > > > > -- > Christopher (CJ) > chaltain at Gmail > > _______________________________________________ > Blinux-list mailing list > Blinux-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/blinux-list -- Janina Sajka, Phone: +1.443.300.2200 sip:janina@xxxxxxxxxxxxxxxxxxxx Email: janina@xxxxxxxxxxx Linux Foundation Fellow Executive Chair, Accessibility Workgroup: http://a11y.org The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI) Chair, Protocols & Formats http://www.w3.org/wai/pf _______________________________________________ Blinux-list mailing list Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list