Learn English – Why is the action of removing a digital file named “Delete”

etymologyusage

After reading these questions:

and the definition of delete in Oxford:

Remove or obliterate (written or printed matter), especially by drawing a line through it.

I think that delete is only used for line, text, script. It is reasonable that when you get rid the text on the screen, you delete it. But since when was delete also used for files? A file, whether it is physical or digital, is still an object. For example you can't delete a picture hanging on the wall, why can digital pictures be deleted?

Bonus from Ngram for delete:
enter image description here

Best Answer

A directory is a list of files. When a file is removed, its entry is deleted from that list. On most early operating systems, a directory was actually just a text file given special treatment (users not being allowed to edit them directly), so the removal of the name from the list really was like deleting text from a document.

In fact, the actual release or erasure of the file contents from the storage device may not happen until later. On UNIX systems, deletion of the file's name is not enough to remove the file; a file will not be removed until all of its names have been deleted (on UNIX filesystems, one file may be named in many directories, something it inherited from MULTICS) and no process still has the file open. So there is a distinction between deletion - the removal of a reference to the file - and the actual removal/release of file contents.