Wirebook

Wirebook › Lesson 8 of 18

Where do deleted files and photos go?

About 7 minutes · hands-on · nothing you type leaves your browser unless a button says so

You delete a photo, empty the bin, and it's gone. Or is it? Usually the computer doesn't rub anything out at all: it just forgets where the file was. Here's a tiny pretend disk so you can watch exactly what happens, and then we'll follow the copies that live in the cloud.

The disk drawer

A disk is split into numbered blocks, and a list (the file table) says which blocks belong to which file. Pick a file, delete it, empty the bin, then send in the recovery detective, or hunt for leftovers yourself with the magnifying glass. Stripes mean "marked free, but the old data is still there".

File table

    Pick a file in the file table to begin.

    ✨ Chief Inspector: your magnifying glass is solid gold.Collect all 18 lesson stamps and this magnifying glass turns gold. See your detective rank

    Deleting is mostly forgetting

    Rubbing out every bit of a big file would take time, so computers take a shortcut. When you empty the bin, the file system (the part that keeps the file table) simply crosses the file off its list and marks its blocks as free to reuse. The ones and zeros of your photo are still sitting there, untouched, until something new happens to be saved on top of them.

    That's why recovery programs can sometimes bring back deleted files: they skip the file table and read the raw blocks, looking for things that look like photos or documents. It works best soon after deleting, before new files have overwritten the space. Try it above: empty the bin, then save a few new files and watch the detective's chances shrink.

    The bin is a second chance, not a shredder

    Pressing delete first moves a file to the bin (or the Recently deleted album on a phone). Nothing on the disk changes; the file just moves to a different list, which is why "restore" is instant. Many phones and apps empty that bin by themselves after about a month.

    Phones, SSDs and encryption make "gone" more gone

    Where are all the copies?

    Today, a photo rarely lives in just one place. Drag the slider to see what happens to each copy after you delete it. The day counts are typical examples; every service has its own rules.

      Is there a giant cloud bin? Sort of, but it's not one bin, it's lots of computers. "The cloud" is just big buildings full of servers. When you delete a photo there, it usually goes into a cloud bin for a while, then the service crosses it off and its disk space is reused, a bit like the disk drawer above. Backup copies take longer to fade away. And anything you've already sent to someone else is their copy: you can't delete it for them.

      What this means for you

      1. Deleted by mistake? Look in the bin or Recently deleted album first, then the cloud's bin. Act quickly and save nothing new on that device.
      2. Selling or giving away a phone or laptop? Use its built-in "erase all content" or factory reset. On modern encrypted devices that throws away the key, so the old data can't be read.
      3. Think before you send. A copy you've shared can't be pulled back. That's the one delete button nobody has.

      Related lesson: is my hard drive getting old? Read its health chart with Grandpa Spinner.

      Words from this lesson

      Earn your stamp

      Get all 3 right to collect the Deleted files stamp. Wrong answers are fine: just try again.

      1. You empty the bin on an old computer. What usually happens to the photo's data?

      2. Why is a deleted photo on a modern phone so hard to get back?

      3. You deleted a photo you'd already sent to a friend. Where is it now?

      Try another lesson

      1. 9How does a map know where you are?7 min · interactive
      2. 10How does a video app guess what you'll watch next?7 min · interactive
      3. 11How does face unlock know it's you?7 min · interactive