Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
File deletion
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Accidental removal== {{see also|Data recovery}} A common problem with deleting files is the accidental removal of information that later proves to be important. A common method to prevent this is to [[Backup|back up]] files regularly. Erroneously deleted files may then be found in archives. Another technique often used is not to delete files instantly, but to move them to a [[Temporary folder|temporary directory]] whose contents can then be deleted at will. This is how the "[[trash (computing)|recycle bin]]" or "trash can" works. [[Microsoft Windows]] and Apple's [[macOS]], as well as some Linux distributions, all employ this strategy. In [[MS-DOS]], one can use the [[Undeletion|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. This is how data recovery programs work, by scanning for files that have been marked as deleted. As the space is freed up per byte, rather than per file, this can sometimes cause data to be recovered incompletely. [[Defragmentation|Defragging]] a drive may prevent undeletion, as the blocks used by deleted file might be overwritten since they are marked as "empty". Another precautionary measure is to mark important files as [[File-system permissions|read-only]]. Many [[operating system]]s will warn the user trying to delete such files. Where [[file-system permissions]] exist, users who lack the necessary permissions are only able to delete their own files, preventing the erasure of other people's work or critical system files.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)