Mac OS X Unleashed

Mac OS X Unleashed

By John Ray and William C. Ray

Getting File Information

The Mac OS has always returned a wealth of information about a file via the Get Info option from the Finder's File menu. In Mac OS X, this is no different, although the menu is now named Show Info (Command+I). Unlike Mac OS 8/9, the Mac OS X Info window can display a great deal more information about your files and folders, such as graphical previews and user permissions.

Let's take a look at each one of the possible views, the information it contains, and what it means to you.

General Information

The default Show Info window can be displayed by selecting the file you want to examine within the Finder, and then choosing Show Info (Command+I) from the File menu. As shown in Figure 4.21, the initial information window provides basic facts about the selected resource. The Show Info window can display additional information about a selected resource by switching to different panels within that window. Although there doesn't seem to be an official word to describe different views of information contained within a single window, panel and pane are a frequently used terms.

04fig21.jpg

Figure 4.21 The General Information panel provides basic size/location/type information about a file.

Selecting a file and choosing Show Info displays data about that file, and has several options for revealing additional information:

If the file you are viewing is an alias file, the General Information panel will also show the location of the original file along with a Select New Original button that lets you pick a new file to attach the alias to.

Changing Icons

If you're unhappy with the icon of the resource you're examining, you can click the object's icon within the General Information panel, and then use the Copy and Paste options in the Edit menu to move icons or images from other files onto the selected item.

Name & Extension

Mac OS X shares something with Windows: file extensions. Although it is still possible for files to have the traditional Macintosh file types and creators, it is no longer the norm. To shield users from the shock of seeing extensions to the names of their files, Apple introduced the ability to hide file extensions in Mac OS X 10.1. Users can turn off this option on a file-by-file basis by accessing the Name & Extension portion of the Show Info panel, as seen in Figure 4.22.

04fig22.jpg

Figure 4.22 The Name & Extension panel can hide or reveal file extensions.

To edit the filename itself (including the extension) make modifications within the File system name field. Turn on (or off) file extensions by clicking the Hide Extension check box.

Open with Application

If you have selected a document icon (not an application or a folder), you should be able to access the Application panel within the Show Info window. This is used to configure the applications that open certain types of documents on the system. Unlike previous versions of Mac OS, which relied on a hidden creator and file type, Mac OS X can also use file extensions or creator/file-type resources. If you download a file from a non-Mac OS X system, your computer might not realize what it needs to do to open the file. The Open with application panel, shown in Figure 4.23, lets you configure how the system reacts. To use the panel, select a file, open the Show Info window, and choose Open with application from the window's pop-up menu.

04fig23.jpg

Figure 4.23 The Open with application panel lets you choose what application will read a particular file or type of file.

The default application name is shown alongside a pop-up menu containing alternative application choices. Click and hold the application icon in the window to display options and make a selection. If the application you want to use isn't shown, choose Other, and then use the standard Mac OS X file dialog to browse to the application you want to use.

If you have a group of files that you'd like to open with a given application, you can select the entire group, and then click Change All to set the application for all of them at once. This beats selecting each file and making the setting individually.

Languages

If you have an application selected, you might be able to choose Languages from the Show Info pop-up menu. Applications can have multiple internal resources that adjust the application to the appropriate system conditions—the Language panel allows you to adjust the language resources used by an application.

In early versions of the Mac OS, resources were contained within a file's resource fork. Unfortunately, resource forks are unique to the Mac file system. To store Mac files and applications on a non-Mac file system, various contortions had to be made. Typically, the data portion of an application would be stored like a normal file, while the resource fork would be converted to a second invisible file that was stored elsewhere.

Although this has worked for many years, it requires computers that interact with Mac files to understand the unusual quality of Mac files. In Mac OS X, files can still have resources, but they have been bundled in an entirely new way. First introduced in Mac OS 9, the Mac OS now supports a new concept called a package. A package is nothing more than a folder structure that appears to the user to be a single file. In reality, a package is a folder that contains individual files for all the resources it might need. Other operating systems need not understand the specifics of the Mac file system to store package files. The Languages panel, shown in Figure 4.24, displays the language resources available for each application, allowing a user to immediately localize software with the appropriately packaged resources. The Add and Remove buttons can be used to add additional language resources to the software.

04fig24.jpg

Figure 4.24 Language resources can be examined in this view.

Privileges

Mac OS X enables you to take control over who can view your files. Without your password (or the system administrator [root] password), other users can be completely restricted from accessing your folders and files. Choose the Privileges panel of the Show Info window after selecting the file or folder you want to adjust. Your screen should look similar to Figure 4.25.

04fig25.jpg

Figure 4.25 File and folder permissions can be set in the Privileges panel.

As discussed in Chapter 3, there are three levels of access you can adjust:

For each of these levels of access, there are multiple user rights. Adjusting these rights controls what the owner, group, and everyone else can do to a file or folder:

When viewing the file information for a folder, the Privileges window will also show a Copy button that will copy all the access rights on the folder to the files underneath. Just because a folder does not have read permissions doesn't mean the files inside the folder can't be read or modified unless they have the same permissions.

A final setting exists for storage volumes. If a disk is selected while viewing privilege information, an "ignore privileges on this volume" check box will appear. Clicking this box will cause the volume to appear as wide open to the operating system. Users can modify anything on the drive—just as in previous versions of the Mac OS. Activating this setting is not recommended.

Preview

If a QuickTime-recognized document is selected, there will be another available Show Info option: Preview. Preview lets you quickly examine the contents of a wide variety of media files including MP3s, CD audio tracks (aiff), JPEGs, GIFs, TIFFs, PDFs, and many, many more.

If you are previewing a video or audio track, the QuickTime player control will appear and enable you to play the contents of the file. This is a great way to play your CDs or listen to MP3s without starting up a copy of iTunes. Figure 4.26 shows a CD audio track being played in the Preview panel.

04fig26.jpg

Figure 4.26 Play your CD tracks using the Finder's Show Info Preview panel.

Share ThisShare This

Informit Network