The answer
Deleting a file can make it disappear from a folder almost immediately. Emptying the bin may then tell the operating system that the space is available again. Neither action necessarily means that every trace of the file's contents has been overwritten at that same moment. What you see in a folder and what remains in storage are related but different questions.
A file system keeps information that lets the operating system find and organise data. A useful analogy is a catalogue pointing towards material on shelves. Deleting an entry can remove the ordinary route to a file and mark its space for reuse. The analogy is not exact, and different file systems handle their records differently, but it separates the name you see from the underlying storage.
If the space has not yet been reused, recovery software may sometimes find pieces of data. Recovery is not guaranteed: a system may overwrite, clear or reorganise storage at any time. Modern solid-state drives can also receive commands that mark blocks as no longer needed, and their internal management works differently from a spinning hard drive. What remains depends on the device, software and timing.
There may be other copies as well. A photo might have been backed up, synchronised to another device, attached to a message or saved in a cloud service's own deleted-items area. Removing the local file does not automatically prove that all of those copies have gone. Conversely, a backup can be valuable when a deletion was accidental.
For ordinary tidy-up, the bin and the operating system's storage tools are often enough. For sensitive information or a device being passed on, consult the device maker's current instructions for securely erasing it and consider any backups or synchronised copies. The important distinction is simple: disappearing from your screen is an interface event; what happens to stored data depends on the storage system.
Key ideas
- Removing a file from view is not necessarily an immediate overwrite.
- Recovery depends on the device, its software and subsequent activity.
- Backups and synchronised copies are separate places to consider.
Music credit
Music: “A Very Brady Special” by Kevin MacLeod (incompetech.com). Licensed under Creative Commons Attribution 4.0. Source (USUAN1900060). The track was excerpted, faded, volume-adjusted and ducked under the narration.
