OS X Yosemite: Delete files and folders

Delete files and folders

At any time, you can get rid of files, folders, and other items that you no longer need. You start by dragging items to the Trash, but the items aren’t deleted until you empty the Trash.

Trash in the Dock
Note:   If you turned off Time Machine or haven’t backed up your files recently, you may want to store a backup copy on a storage device, just in case you change your mind and want the item later.

Delete an item from your Mac

  1. Drag the item to the Trash. Or select the item, then press Command (⌘)–Delete.

  2. Click the Trash, then click Empty. You can also choose Finder > Empty Trash.

    When you see a warning message, click OK.

    Note:   If you see Empty Securely or Finder > Secure Empty Trash instead of Empty or Empty Trash, see If the Empty Trash command isn’t in the Finder menu.

Delete a locked item from your Mac

You must unlock the item before putting it in the Trash.

  1. Select the item, then choose File > Get Info or press Command (⌘)-I.

    If you are not logged in as an administrator, you may need to click the lock icon , then enter an administrator name and password.

  2. Drag the item to the Trash, click the Trash, then click Empty. You can also choose Finder > Empty Trash.

    When you see a warning message, click OK.

Securely empty the Trash

Even after you empty the Trash, deleted files can be recovered using data-recovery software. For extra security, you can delete files so they can’t easily be recovered.

  1. Drag the item to the Trash.

  2. Click the Finder icon in the Dock, then choose Finder > Secure Empty Trash. When you see a warning message, click OK.

    To always empty the Trash securely, choose Finder > Preferences, click Advanced, then select “Empty Trash securely.”

Files deleted in this way are completely overwritten by meaningless data. This may take some time, depending on the size of the files.

Prevent the Trash warning message from appearing

Once: Press the Option key when you click Empty or choose Empty Trash.

Always: Turn off the warning in the Advanced pane of Finder preferences. Choose Finder > Preferences, click Advanced, then deselect “Show warning before emptying the Trash.”

If you change your mind before emptying the Trash

Click the Trash to open it, then drag the item out of the Trash, or select the item and choose File > Put Back.

Last Modified: Sep 23, 2015
Helpful?
56% of people found this helpful.

Additional Product Support Information