Deleting Files

Deleting files is removing items from the file system. The reasons for deleting files are:
  1. freeing the disk space
  2. removing duplicate or unnecessary data to avoid confusion
  3. making sensitive information unavailable to others
All operating systems include commands for deleting files (rm on Unix, delete/del in MS-DOS etc.). File managers also provide a convenient way of deleting files. Files may be deleted one-by-one, or a whole directory tree may be deleted.

Problem with accidental removing

The common problem with deleting files is accidental removal of information that later proves to be important. One way to deal with this is to backup your files regularly. Erroneously deleted files may then be found in archives. Another strategy is not to delete files instantly, but to move them to a temporary place where they are kept until one is really low on free space. This is how the "recycle bin" in Microsoft Windows works. In MS-DOS, one can use the undelete command. In MS-DOS the deleted files are not really deleted, but only marked as deleted — so they could be undeleted during some time, until the disk blocks they used are eventually taken up by other files. Another precautionary measure is to mark important files as "read-only". Operating system will warn you if you are trying to delete such files.

Problem with sensitive data

The common problem with sensitive data is that deleted files are not really deleted and so may be recovered by interested parties. Most file systems only remove the link to data (see undelete above). But even overwriting the disk with something else or formatting it does not guarantee that the sensitive data are completely unrecoverable. To deal with this, there are programs that write random data to the target regions on the disk many times over and over, so making data recovery unlikely (see shred). And the most reliable way of destroying data is, of course, destroying the physical media (e.g. throwing it in fire). Another problem is that there may exist several copies of the same file (perhaps representing different stages of editing). People delete one copy and forget about others.

 

<< PreviousWord BrowserNext >>
last stand
am transmitter westerglen
sir james denham steuart
web modeling
pierre basile
spruce hill
web engineering
jake white
virginia and truckee railroad
lethabo
alabama and gulf coast railway
whangaehu river
marmora, ontario
webml
temporal database
pocket kingdom: 0wn the w0rld
nemmers prize in mathematics
per joar hansen
longwave transmitter clarkestown
william lemessurier
stackpole
tuhoe
berrylands
tindersticks (second album)
john lighton synge
havelock, ontario
axes
andreas divus
horndean
hhp
hand held products
leroy p. steele prizes
iip
aspmyra stadium
janusz siadlak
genex tower
mayim
diehard conservatism
copy control
james webb
british rail regional multiple unit numbering
rolf maximilian sievert
jumping jacks (movie)
cacnea