Illegal filename characters mac os x

Also read in:

Each of the character classes in Table 3. To use any of the preceding characters in a filename in the shell, you have to escape it—precede it with a backslash character, which tells the shell to treat the next character in the filename literally, not as a special command character.


  • Chars Not Allowed on Windows.
  • boot rom version mac pro.
  • fleetwood mac tour 2012 canada.
  • duke nukem 3d mac system requirements.

You'd have to write the command like this:. This tells the shell that the spaces and quotes are part of the filename, not separate arguments for the ls command.

What Characters Are Not Allowed in File Names?

Otherwise, ls would be trying to list three separate files: The command-line completion feature of the bash shell can mitigate most of the pain associated with special characters in filenames. For example, type ls My and then press Tab, and unless other files in the folder have names that start with My , bash will automatically fill out the rest of the file with all the special characters escaped for you.

This helps only when you're addressing existing files, though; you still have to do all the escaping yourself if you're creating a new file or applying a new name. To keep your command-line life simple, I'd recommend that you just avoid using weird characters like the ones described here.

Solved - XML Parsing Error in Microsoft Word File (Corrupted File)

Posted on Feb 21, 1: Cross-platform filename best practices and conventions - Apple Support. Page content loaded. Feb 21, 1: More details: Forbidden characters in file names More Less.

What Characters Are Not Allowed in File Names?

Communities Contact Support. Sign in. Example 1: Create a file named com1 on Mac OS 9 Move the file to a Windows machine Under Windows viewing the folder which contains the file via Explorer will result in Explorer crashing Under Windows the file name cannot be changed because the file will require inherent access permissions.


  1. sandisk card not recognized mac.
  2. Special Characters to Avoid in Filenames.
  3. macOS valid filenames - macOS - SScom;
  4. Windows File Naming Convention.
  5. Example 2: Create a file named. Example 3: Skip to main content. Search Search.


    • how to type math problems on a mac?
    • mac mini connecting to tv?
    • wbfs mac os mountain lion.
    • youtube downloader for mac converter.

    Also read in: Under Windows using the FAT file system file and folder names may be up to characters long Under Windows using the NTFS file system file and folder names may be up to characters long Under Window the length of a full path under both systems is characters In addition to these characters, the following conventions are also illegal: Placing a space at the end of the name Placing a period at the end of the name The following file names are also reserved under Windows: The only illegal character for file and folder names in Mac OS X is the colon ":