Re: [SLUG] filenames with spaces

From: Russell Hires (rhires@earthlink.net)
Date: Fri May 07 2004 - 08:24:58 EDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Why make something complicated more complex? Filenames with spaces are easy.
You can either escape the spaces with a \ character (e.g. File \name) or
surround the file name with quotes (e.g. "File name"). Of course with your
script, you'd have to escape the quotes, which could get confusing fast.

Russell

On Friday 07 May 2004 06:58, Logan Tygart wrote:
> On Thu, 2004-05-06 at 22:48, Steve wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
>
> <snip>
>
> > The problem is that there are spaces in the file and directory names
> > which I inherited from a windows machine.
>
> <snip>
>
> Sounds like a job for a PERL script. Push the names into a list, covert
> $_ to a $string and finally, convert the string to an mp3 or ogg.
> (Sorry, my coffee hasn't kicked in enough to write an example.)
>
> The Logan

- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAm4AaAqKGrvVshJQRAgsqAJ9BtIWKClk9YAn3YtUJ1DZaQXwtvgCcDFL9
jETHLgGtjwv8p7sK6UTMoRk=
=yXkc
-----END PGP SIGNATURE-----

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:52:50 EDT