如果您还不知道Mac上的文件删除过程是如何工作的,您可能想了解一下,这样您就可以确保在删除文件时它们会永远消失。
大多数情况下,当您删除Mac上的文件时,Mac只会删除对您文件的引用。您删除的文件继续存在于您的计算机上,但没有对其的引用。
这使您认为您的文件已经永远消失了,并且没有人能够恢复它。然而,现实情况是,您的文件仍然存在于您的机器上,并且优秀的数据恢复软件可以为您检索文件——即使您已经清空了Mac上的垃圾箱(Trash)。
为了帮助您解决这个问题,您的Mac为您提供了安全删除选项。使用此功能,您可以删除文件,确保没有软件能够恢复它们。实际上有多种方法可以安全地删除 Mac 上的文件,在(various ways to securely delete files on a Mac)这里我们来看看其中的三种方法。
使用终端安全删除 Mac 上的文件(Use Terminal To Securely Delete Files On Mac)
终端(Terminal)可让您在Mac上做很多事情,其中之一就是能够让您安全地删除机器上的文件。使用应用程序中的命令,您可以永久删除文件,这样它们就永远无法使用任何应用程序或软件恢复。
可让您安全擦除Mac上数据的命令称为rm。它有一个名为P的参数,它会覆盖您的数据 3 次,使您的数据几乎不可能被检索到。
您实际上不必深入挖掘并了解有关使用它的命令的更多信息。您只需要知道该命令将确保您的文件被安全擦除并且将来无法恢复。
从Mac(Mac)上的Launchpad启动终端(Terminal)应用程序。
键入以下命令,按空格键(Spacebar),拖放要删除的文件,然后按Enter。
rm -P
您选择的文件将从您的Mac安全删除。您也不会在垃圾箱(Trash)中找到它,因为它已从您的机器中完全删除。
由于该命令不会让您恢复文件,因此请在运行之前仔细检查该命令,否则您最终会删除无法恢复到计算机上的重要文件。
使用 App 安全擦除 Mac 上的文件(Use An App To Securely Erase Files On Mac)
大多数用户有时会需要安全删除文件的功能,因此一些应用程序已经出现,允许您安全地擦除Mac上的文件。这些应用程序的工作方式与终端(Terminal)方法几乎相同,但它们使用不同的算法来帮助您摆脱文件。
永久擦除(Erase)是这些应用程序之一,可让您从 Mac 中永久删除文件(permanently delete files from your Mac)。它会多次覆盖您的数据,还会对数据进行打乱以确保其不可读。
前往Permanent Eraser 应用程序网站,在您的(Permanent Eraser app website)Mac上下载并安装该应用程序。
(Delete)像往常一样删除要从Mac中(Mac)删除的文件。这些文件应该进入您机器上的垃圾箱(Trash)。
启动新安装的应用程序。将出现一个提示,要求安全擦除垃圾箱(Trash)。在提示中单击(Click)OK,它将安全地删除Trash中的所有文件。
您在垃圾箱(Trash)中的所有文件都将一去不复返。您将无法使用任何应用程序或软件检索这些文件。
每次在Mac上打开应用程序时,您都会收到提示,要求您安全地擦除机器上的垃圾箱(Trash)。点击OK将从您的机器中完全删除
垃圾(Trash)文件。
将永久橡皮擦与 Finder 集成(Integrate Permanent Eraser With The Finder)
如您所见,
Permanent Eraser的默认行为有些尴尬。打开应用程序会要求您立即清空
废纸篓(Trash),这在您的Mac上并不常见。
不过幸运的是,该应用程序与Finder集成。这意味着您可以在不打开应用程序本身的情况下使用应用程序的功能。您将能够直接从您机器上的任何Finder窗口直接使用该应用程序。
以下是使永久橡皮擦(Permanent Eraser)和
查找器(Finder)一起工作的方法:
从Launchpad启动Automator应用程序。您将在Automator中创建一个应用程序。
当Automator打开时,选择应用程序(Application)选项,然后单击底部的选择按钮。(Choose)
当新的应用程序窗口打开时,将名为Get Selected Finder Items的操作从操作列表中拖放到屏幕右侧的主面板上。
您要添加到应用程序的第二个也是最后一个操作是Erase Selected Items。从列表中选择它并将其拖放到主面板上。
通过单击File和Save 来保存(Save)应用程序。输入应用程序的名称并点击Save。
您的应用程序现已准备就绪,让我们将其添加到Finder中。打开Finder窗口,找到新创建的应用程序,按住Option + Command,然后将应用程序拖放到 Finder 的工具栏上。
该应用程序将位于工具栏中,让您轻松删除文件。现在,每次您想要安全地擦除文件时,将文件拖放到工具栏中的应用程序图标上。该文件将被永久删除。
结论(Conclusion)
务必确保您在Mac上删除的文件实际上已从存储中删除,这一点很重要。如果这没有发生,您的文件仍然可以检索,并且好的数据恢复软件将能够恢复它们。多亏了上述指南,您现在知道如何永久删除计算机上的文件。
How To Securely Delete Files On Your Mac
If you don’t already know how thе file deletion process works on your Mac, you may want to learn аbout it so уou can ensure that when you delete your fileѕ, they’re gone for good.
Most of the time when you delete a file on your Mac, your Mac only removes the reference to your file. The file that you deleted continues to exist on your machine but without a reference to it.
This makes you think your file’s gone for good and that no one will be able to recover it. However, the reality is that your file still exists on your machine and good data recovery software can retrieve the file for you – even when you’ve emptied the Trash on your Mac.
To help you out with that, your Mac provides you with a secure deletion option. Using this feature, you can delete your files ensuring no software will be able to recover them. There are actually various ways to securely delete files on a Mac and here we take a look at three of those methods.
Use Terminal To Securely Delete Files On Mac
Terminal lets you do a lot of things on your Mac and one of those things is the ability to let you securely delete files on your machine. Using a command in the app, you can remove your files for good so they can’t ever be recovered using any app or software.
The command that lets you securely erase data
on your Mac is called rm. It has an argument called P that
overwrites your data three times to make it almost impossible for your data to
be retrieved.
You don’t really have to dig deeper and find
out more about the command to use it. All you need to know is that the command
will make sure your files are securely erased and can’t be recovered in the
future.
Launch the Terminal app from the Launchpad on your Mac.
Type in the following command, press the Spacebar, drag and drop the file you want to delete, and press Enter.
rm -P
Your chosen file will be securely erased from
your Mac. You won’t find it in the Trash either as it’s been completely removed
from your machine.
Since the command won’t let you recover your file, double-check the command before you run it or you’ll end up deleting an important file that cannot be got back on your machine.
Use An App To Securely Erase Files On Mac
The ability to securely delete files is
something that most users will need at times, so some apps have come into
existence allowing you to securely erase files on your Mac. These apps work
pretty much the same way as the Terminal method but these use different
algorithms to help you get rid of your files.
Permanent Erase is one of these apps that allows you to permanently delete files from your Mac. It overwrites your data multiple times and also scrambles the data to ensure it’s unreadable.
Head over to the Permanent Eraser app website and download and install the app on your Mac.
Delete the files you want to remove from your Mac as you would normally. These files should go into the Trash on your machine.
Launch the newly installed app. A prompt will appear asking to securely erase the Trash. Click on OK in the prompt and it will securely delete all the files that are in the Trash.
All of your files in the Trash are gone for
good. You won’t be able to retrieve these files using any apps or software.
Each time you open the app on your Mac, you’re
going to get the prompt that asks you to securely erase the Trash on your
machine. Hitting OK will remove the
Trash files completely from your machine.
Integrate Permanent Eraser With The Finder
As you can see, the default behavior of
Permanent Eraser is somewhat awkward. Opening the app asks you to empty the
Trash straightaway, which isn’t something you’re used to seeing on your Mac.
Fortunately, though, the app integrates with the Finder. What that means is you can use the app’s features without opening the app itself. You’ll be able to work directly with the app right from any of the Finder windows on your machine.
Here is how you make both Permanent Eraser and
Finder work together:
Launch the Automator app from Launchpad. You’re going to create an app in Automator.
When Automator opens, select the option that says Application and then click on the Choose button at the bottom.
When the new app window opens, drag the action named Get Selected Finder Items from the actions list and drop it onto the main panel on the right-hand side of your screen.
The second and the last action you will want to add to your app is Erase Selected Items. Select it from the list and drag and drop it onto the main panel.
Save the app by clicking on File followed by Save. Enter a name for the app and hit Save.
Your app is now ready and let’s add it to the Finder. Open a Finder window, locate your newly created app, press and hold down Option + Command, and drag and drop the app onto Finder’s toolbar.
The app will sit in the toolbar letting you
delete files with ease. Now each time you want to securely erase a file, drag
the file and drop it onto the app icon in the toolbar. The file will be
permanently deleted.
Conclusion
It is important that you always make sure the files you delete on your Mac are actually deleted from your storage. If that doesn’t happen, your files remain retrievable, and good data recovery software will be able to recover them. Thanks to the above guide, you now know how to delete files permanently on your machine.