[hcs-d] deleting files
robertnishihara at gmail.com
Sun May 27 15:28:39 EDT 2012
Jim, I didn't mean from a security perspective, I actually just meant from
the perspective of not accidentally deleting a lot of files. For instance,
if you use emacs, then you might want to run something like "rm *~", which
is pretty close to "rm *". Anyway, I ended up aliasing "clean" to "rm *~
*#", so I don't have to do those things manually.
On Sun, May 27, 2012 at 2:42 PM, Jim Danz <danz at fas.harvard.edu> wrote:
> 'rm' should usually be what you want, with the caveat that it doesn't
> actually destroy the contents of your files; it just removes their
> directory entries and marks their disk blocks as free. So it's no good if
> you need to prevent an adversary with physical access to your machine from
> being able to read the contents of your deleted files.
> Maybe you remember somebody cautioning you against always running 'rm -rf'
> without being SURE that's what you meant to do? Or maybe you can try some
> Gmail searching to uncover the thread that you're remembering?
> Separately, this is my first email to an HCS list as cruft. wtf :(
> On May 27, 2012 9:17 AM, "Robert Nishihara" <robertnishihara at gmail.com>
>> A while ago, I remember someone said not to delete files with 'rm'. How
>> do you guys delete files in practice?
>> hcs-discuss mailing list
>> hcs-discuss at lists.hcs.harvard.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hcs-discuss