Re: Spaces in file names



"Leslie Rhorer" <lrhorer@xxxxxxxxxxx> writes:

The suggestion shown below won't work.

Yes, it will. You just need to apply a little more brain power.

As an example of exactly what I need to do, I need to change the file
named "The Hunt for Red October (Recorded 10/10/2007 18:03).TiVo" to "Hunt
for Red October, The (Recorded 10/10/2007 18:03).TiVo".

There are only 2 characters that absolutely can not occur in a UNIX
filename: the NUL character (used to terminate the name) and the '/'
(used as directory separator). Since your file names above contain
one of them, they are not a legal UNIX filenames, can not possibly
happen on a UNIX filesystem, and your "exact" question is moot.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.



Relevant Pages

  • Re: open()
    ... I don't know about QNX, but on UNIX the only 2 characters prohibited ... I just did a google search for "characters allowed in filename unix", ... In order to understand recursion you must first understand recursion. ...
    (comp.unix.programmer)
  • Re: unix filename restriction
    ... Grant Edwards writes: ... >> Is there any restriction on the characters used in a filename in unix ...
    (comp.os.linux.development.apps)
  • Re: Windows Media Player executes WMF content in .MP3 files.
    ... >In the UNIX world, how a file is executed always depends on any magic ... and never on the filename. ... In the Microsoft world, the file extension counts to decide what operations ...
    (comp.security.misc)
  • Enhanced JCL processor? (and maybe a few other thoughts)
    ... I would prefer that JCL be VB. ... The first three characters of the ... // THE PARM' ... UNIX user" is defined, then it is the "default UNIX user's" home ...
    (bit.listserv.ibm-main)
  • Re: qx() wont accept over (about) 128,000 characters
    ... and submit the result to a Unix operating system ... I submit such a program to the operating system using Perl's ... Unfortunately, giving qxover 128,420 characters (about and can vary ... $ perl -e' ...
    (perl.beginners)