[TriLUG] bash spaces in filenames

John Broome jbroome at gmail.com
Thu May 4 13:23:52 EDT 2006


On 5/4/06, James Tuttle <jim_tuttle at ncsu.edu> wrote:
> I'm need to grab a few hundred songs out of a few thousand to dump to my
> wife's IPod.  I have a list of the files she selected and I wrote a
> little bash script to grab them and sync them to her IPod, but it fails
> on spaces in filenames.  Probably on things like ' and & and - also.
> Any ideas?
>
>
> #/bin/env bash
>
> FILES="Barry White - Let's Get It On.mp3
> Barry White - Shaft Theme.mp3"


I don't have anything to contribute to the bash scripting discussion,
but I'm pretty sure Issac Hayes wrote that, not Barry White.

Might want to check out your id3 tags. :)



More information about the TriLUG mailing list