Duplicating items in the Finder

    The Finder's Standard Suite includes the Duplicate command. You can use this command to duplicate a file or folder, specify where the duplicate is located, and (if needed) replace an existing item with the same name.

    The following example duplicates a folder on your desktop:

    Show me the Duplicate command.

Specifying the location

    By default, a duplicate is created in the same location as the original file with the word "copy" at the end. You can use the To parameter to specify a new location for the item, as in the next example:

    Show me how to specify the location.

Replacing an existing item

    If an item already exists in the location where you want to place the duplicate, the Finder returns an error. You can use the Replacing parameter to replace the existing item, as in the next example:

    Show me the Replacing parameter.

    You can use the Try command to let you choose whether or not to replace the existing item:

    Show me the Try command.

Moving files to the System Folder

    If you move certain types of files to the System Folder, a message appears for you to confirm that you want to place the file in the correct location. For example, if you move a font file to the System Folder, a message lets you confirm that you want to put the new file in the Fonts folder.

    You can use the Routing Suppressed parameter to prevent this message from appearing and place the file in the correct location automatically.

    Show me the Routing Suppressed parameter.

Related topic

 


Table of contents