rm | Cleaning up recycle bin
John Levine
johnl at iecc.com
Sun Feb 23 23:15:23 UTC 2020
In article <20200223151207928780007 at bob.proulx.com>,
>Ernie Luzar wrote:
>> To write zeros to existing file before removing that file
>>
>> dd if=/dev/zero of=/path/filename bs=1m ; rm /path/filename
Ugh, no. If you want to erase the contents of a file before deleting it,
use security/wipe from the ports collection.
If you just want to delete a file and get its space back, rm is all you need.
More information about the freebsd-questions
mailing list