Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Apple OS X Using underscores instead of blank spaces in file names

  • Using underscores instead of blank spaces in file names

    Posted by Joan Solsona on March 28, 2011 at 3:35 pm

    Hi there,

    He says that using blank spaces in the naming of files can cause serious problems with some programs, and he strongly suggests to use underscores instead
    of blank spaces, so EVERY file or folder we create from now on has to be in annoying underscores (ex: PROJECT_RAW_FOOTAGE )

    Is this really necessary? I mean, i’ve been working in post for many years, and i’ve never had any problems with spaces, and also never heard of anyone saying this to me before…

    Thanks in advance for your help!

    Conrad Olson replied 15 years, 1 month ago 3 Members · 3 Replies
  • 3 Replies
  • Jerry Jorgenson

    March 28, 2011 at 5:46 pm

    Unix operating systems natively use whitespace for separators. If you only use the Apple (OS X) GUI, it hides this from you, but if you use the command line (terminal window), you need to enclose whitespace separated names in quotes:

    Example:

    cp “my file” “my new file”

    Some programs don’t know to quote whitespace. If you’ve never had a problem, then you don’t have any of those programs.

  • Joan Solsona

    March 29, 2011 at 10:25 am

    I use typical post production programs like FCP Studio, After effects, Nuke, Shake, etc… Do you mean that there’s no need to use underscores
    when working with those programs?

    Thanks for your answers!

  • Conrad Olson

    March 29, 2011 at 2:41 pm

    If you work entirely on a Mac (and never use the Terminal in OS X) you don’t need to worry about spaces. The operating system deals with it for you.

    But if you ever need to use the Terminal to run a command line program you will very quickly learn that spaces are a not a good idea. This is also true with web servers and any other UNIX/LINUX OS.

    It is worth getting into the habit of using _ or camel casing (oneLongWordWithCapitalLetters) to replace spaces. If you ever have to share your work with people on other platforms or deal with web servers you will make life easier for everyone and you’ll look a little more professional.

    conradolson.com

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy