[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shred command. Autodetect file type
From: |
John Darrington |
Subject: |
shred command. Autodetect file type |
Date: |
Fri, 1 Dec 2006 16:10:44 +0800 |
if --remove (-u) is specified. The default is not to remove the files because
it is common to operate on device files like /dev/hda,
and those files usually should not be removed. When operating on
regular files, most people use the --remove option.
Why not use the stat system call to find out what type of file we're dealing
with, and then remove or not remove accordingly ?
- shred command. Autodetect file type,
John Darrington <=