Why Deletion is Instant
Imagine a massive library. When you "delete" a book, you don't actually go to the shelf and burn the book. Instead, you just go to the card catalog (the index) and throw away the card for that book.
In computer terms, your file system (NTFS on Windows, APFS on Mac, ext4 on Linux) maintains a giant table of contents called the Master File Table (MFT) or Inode Table.
Key Insight
"Deleting" a 10GB file only requires changing a few bytes of data in the index to say "This space is now available." The actual 10 billion bytes of data stay on the disk until they are overwritten by something new.
Analogy: Removing the catalog card is faster than removing the books.
Analogy: Copying requires re-writing every single word.
Why Copying is Slow
Copying is fundamentally different. The computer cannot take shortcuts. To copy a 10GB file, the drive heads must physically:
- 1 Seek to the location of the original file.
- 2 Read a chunk of data into the RAM (Memory) buffer.
- 3 Seek to the empty space where the new copy will live.
- 4 Write the data from RAM to the disk.
This is a read-write cycle limited by the physical speed of the disk or the bandwidth of the cable (USB/SATA).
storage HDD vs SSD: Does it matter?
Hard Disk Drives (HDD)
On traditional spinning drives, the "Delete" is purely logical (metadata update). The data remains magnetically stored on the platter. This is why Data Recovery software works so well on HDDs—it scans the "empty" space for the old magnetic patterns.
Solid State Drives (SSD)
SSDs use a command called TRIM. When you delete a file, the OS tells the SSD "these blocks are invalid." The SSD will eventually wipe these blocks in the background (Garbage Collection) to prepare them for new data.
When Delete IS Slow: Secure Erase
If you want to truly delete a file so it can't be recovered, you must use a "Secure Erase" or "Shred" tool.
These tools work like the Copy process: they go to the file's location and overwrite it with random 1s and 0s (sometimes multiple times). Because this involves writing 10GB of data, it takes just as long—or longer—than copying the file.