如何永久ly Delete File on Mac/MacBook Air/iMac

This article will introduce 4 proven ways to permanently delete files on Mac, including emptying Mac Trash, using shortcuts on Mac, using the Terminal command, and permanently deleting files with Disk Utility. Read on to learn detailed information.

Table of Contents

The common way todelete files on Macis to move them to MacTrash, which doesn't delete your files completely, and the deleted files still remain on your Mac, taking up valuable storage space.How to permanently delete files on Mac? Here are the tested methods and user experience:

Empty Mac Trash

Given that this is the most common way to delete files permanently, it is difficult for the average computer user to retrieve the files that disappear after emptying the Trash without using professional data recovery software.

使用Mac快捷键

With swift shortcuts, you can permanently delete some private or no longer-needed files. However, you may accidentally delete some important files, and retrieving the files mistakenly deleted by using shortcuts will be difficult.

⚠️Use Terminal Command

Permanently delete a file with the Terminal command: you don't even need to locate the file and click it multiple times. But this method is not used for computer rookies; using the Terminal command requires careful operation.

From Disk Utility

删除从磁盘实用程序是不习惯永。螺旋式排布tly delete single files but to wipe the hard drive volume on your MacBook Pro/Air. So the first three methods are recommended if you need to delete particular files/folders.

Suppose you are going to sell yourMacBook Proor Air; before selling your machine, you should consider how to permanently delete files on your Mac to protect private information.How to permanently delete files on Mac? This article will introduce effective ways to delete files on Mac permanently.

Empty Trash to Permanently Delete Files on MacBook Air

Moving files to Trash can be the easiest and fasted way when Mac users consider deleting them. But the files stored in Trash will not be deleted automatically until you empty the Trash.

Therefore, you may empty Trash when you want to permanently delete the files so that others can'trestore Mac Trash data.

Here is a video explaining how to permanently delete files by emptying Trash:

  • 00:17 - Move the file to Trash
  • 00:41 - Select the "Empty Trash" option

Trash's feature gives the opportunity to restore files accidentally deleted, but if you turn on the time-limited Settings, Trash will remove items automatically after 30 days. Guide on How to check Trash time limit settings:

Step 1.Go to "Finder > Settings", and click "Advanced".

Step 2.Unselect the option "Remove items from the Trash after 30 days".

Share this article on social media to help others learn how to empty Trash and permanently delete files on MacBook Air/Pro.

Suppose some essential data was mistakenly deleted after emptying Trash, and you want torecover permanently deleted Mac files; the only way is to find data recovery software to help you recover them.ob欧宝电竞官网入口 is a trusted and powerful data recovery tool that supports various file types on most devices.

With the trusted EaseUS software, you can recover emptied Mac Trash with a few clicks, following the steps below to get the deleted files back quickly:

Step 1. Select the drive to be scanned

In the main EaseUS Data Recovery Wizard window, there will be a list of the drives connected to your Mac. Select the drive you need to recover lost/deleted files from, and click the "Search for lost files" button.

select a location and scan for lost Mac data

Step 2. Select your lost data/files

EaseUS Data Recovery Wizard for Mac will immediately scan your selected disk volume and display the scanning results on the left pane. You can sort the results to find the wanted files if you are looking for certain files.

Select your lost data/files

Step 3. Recover lost/deleted data

Once you have found the desired files, preview the files and then click "Recover" to begin the recovery of your deleted/lost Mac files.

recover lost Mac data

如何永久ly Delete Files on Mac Shortcuts

Using shortcuts on Mac makes our work smooth, enhances efficiency, and avoids wasting time. Here are shortcuts for deletion on Mac:

  • Press "Command + Delete": Move the selected item to the Trash.
  • Press "Shift + Command + Delete": Empty the Trash.
  • Press "Option + Shift + Command + Delete": Empty the Trash without confirmation dialog.

Suppose you press the "Command + Delete" keys but find that the file can't be deleted; you should check 3 things:

  • The file is not currently in use.
  • The file is not locked and read-only.
  • You have permission to modify the file.

force delete files on Mac

2023 Force Delete Files| How to Delete Files on Mac That Won't Delete

If the file can't be deleted on Mac, don't worry. This article discusses 4 proven ways to force deleted files on Mac computers.Read more >>

Use Terminal to Permanently Delete Folders on Mac

You can use the rm or rm -R command inMac Terminalto delete files permanently. This can be dangerously easy:

  • Run the commandrm filenameto delete the file named "filename" permanently.
  • Run the commandrm -R archivesto permanently delete a directory full of archives containing sub-directories and files.

recover files deleted by rm command

How to Recover Files Deleted by RM on Mac

This article introduces effective and simple ways to recover files deleted by the rm command on Mac computers.Read more >>

In addition, you can use the secure-erase command in Terminal to permanently delete files on Mac.

Note:the secure-erase command will wipe the entire disk securely; it can't delete a particular file/folder or erase a hard drive volume.

use secure-erase command to permanently delete files Mac

You can use the Terminal secure-erase command to securely wipe empty storage space on a Mac hard drive volume; refer to the following:

Step 1.Go to "Application > Utilities > Terminal" and typediskutil list.

Step 2.Typediskutil secureErase 2 disk#. Note that replace # with the hard disk number.

如何永久ly Delete Mac Files with Disk Utility

permanently delete files from DIsk Utility

Note:This method can help you wipe a Mac hard drive volume rather than deleting individual files or folders from Mac hard drive.

Follow the steps below to wipe your Mac hard drive volume:

Step 1.Open "Disk Utility" on your MacBook Air.

Step 2.Choose the hard drive volume that contains files you want to permanently delete.

Step 3.Click "Erase" at the top menu, and a confirmation window popup.

Step 4.Enter the volume name, choose a format, likeHFS+(Mac OS Extended), and click "Security Options".

Step 5.Choose "Most Secure" and click "OK" to start.

Conclusion

如何在雨衣上永久删除文件?你可以他们pty Trash, use Mac shortcuts, Terminal command, and Disk Utility to permanently delete files on Mac. But notice that methods 3 and 4 are not used to delete individual file/folder.

It's suggested that using Mac shortcuts or empty Trash permanently delete files/folders on your MacBook Pro/Air. And users can't restore permanently deleted files unless they use professional data recovery software like EaseUS Data Recovery Wizard for Mac.

如何永久ly Delete Files on Mac FAQs:

Here are questions people also ask when they search for how to permanently delete files on Mac, and you can read the questions below to learn more about permanent deletion on Mac.

1. How can I turn off Trash "Delete Immediately" on Mac?

Toturn off Delete Immediately Mac:

Step 1.Launch "Application" and go to "Terminal".

Step 2.At the command prompt, type:sudo rm -ri ~/.Trashand press "Return".

Step 3.Log out of your macOS or Mac OS X account and log back in.

2. How do you permanently erase data so that it cannot be recovered from Mac?

You can permanently erase data using one of the following 4 methods:

  • Empty Trash to permanently delete files on your Mac.
  • Press "Option + Shift + Command + Delete" to empty the Trash without confirmation dialog.
  • Use the rm or secure-erase command in the Terminal to delete Mac files permanently.
  • Wipe data from Disk Utility so that it can't be recovered from Mac.

3. What is the shortcut for permanently deleting files on Mac?

To permanently delete Mac files: press "Shift + Command + Delete" to empty the Trash, or press "Option + Shift + Command + Delete" to empty the Trash without confirmation dialog.

4. How to delete files on Mac that won't delete?

If an item is locked, you must confirm you want to move it to the Trash or unlock it before putting it in the Trash. To unlock the item:

Step 1.Select the item, and choose "File > Get Info".

Step 2.Deselect the Locked checkbox.

Was This Page Helpful?

Updated byBrithny

Brithny is a technology enthusiast, aiming to make readers' tech lives easy and enjoyable. She loves exploring new technologies and writing technical how-to tips. In her spare time, she loves sharing things about her favorite singer - Taylor Swift on her Facebook or Twitter.

Read full bio

Product Reviews

TrustScore4.7 | 59 reviews
  • EaseUS Data Recovery Wizard is a powerful system recovery software, designed to enable you to recover files you’ve deleted accidentally, potentially lost to malware or an entire hard drive partition.

    Read More
  • EaseUS Data Recovery Wizard is the best we have seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past.

    Read More
  • EaseUS Data Recovery Wizard Pro has a reputation as one of the best data recovery software programs on the market. It comes with a selection of advanced features, including partition recovery, formatted drive restoration, and corrupted file repair.

    Read More