我有一个脚本可以不时安全地清空我的垃圾箱,我正在使用srm
. 我想人们仍然可以使用srm
. 但是,似乎srm
不再随 mac os 一起提供。你知道替代 的候选人srm
吗?任何人的任何一句话?
PS 例如,这是srm
用于安全清空垃圾箱的随机示例。请注意,该示例适用于 El Capitan,因此srm
在 mac os Sierra 中消失了(或者至少,情况似乎如此)。
Mat*_*teo 12
您可以使用 rm -P
-P Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, and then 0xff again, before they are deleted.
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
9567 次 |
最近记录: |