Viewing and Editing the Contents of Package Sources
Once a package source exists for the files you want to package, Composer allows you to do the following:
-
Delete files that should not be included in the package.
-
Add files by dragging them into Composer from the Finder.
-
Change privileges on a file or folder.
-
Restore files that were deleted from the package source.
In addition to viewing files or folders through the Composer interface, you can view this information in the Finder or using Quick Look.
Deleting Files or Folders from a Package Source
In the Package Contents pane, select the items you want to delete from the package source and choose File > Delete from the menu bar.
Adding Files to a Package Source
Drag the files you want to add to your package source from the Finder into the Package Contents pane in Composer.
Changing Privileges on Files or Folders in a Package Source
Select a file or folder in the Package Contents pane in Composer to display its privileges in the bottom of the window. You can change the privileges using this display. Changes are saved automatically. If the selected item is a folder, you can apply the privileges that exist on the folder to each enclosed item by clicking the Action button to the right of the X-column.
Restoring Deleted Files or Folders to a Package Source
If you delete a file or folder from the Package Contents pane, it may be possible to restore the item. When you restore a deleted file or folder, Composer copies the item from its original location on the drive.
Note: Deleted files and folders can only be restored if a snapshot was used to create the package source.
-
Open Composer and authenticate locally.
-
Click the disclosure triangle next to the package source in the sidebar.
-
Click the disclosure triangle next to Snapshots.
-
Select Files for Package to display a list of files, folders, and directories from the snapshot.
-
Select the item you want to restore.
-
Control-click (or right-click) the selected item and choose Restore.
Viewing Files or Folders in a Package Source Using the Finder
In the Package Contents pane, select the items you want to preview, and then choose File > Reveal in Finder from the menu bar.
Viewing Files or Folders in a Package Source Using Quick Look
In the Package Contents pane, select the items you want to preview, and then choose File > Quick Look from the menu bar or press the Space bar.