Help

Design notes

Recover a file after a change

You approved a rename, a move or a delete and now want the old state back. This article describes how FileFlock is designed to record changes, restore them safely and tell you when the window to do so closes.

Updated

FileFlock is in development and no installer exists. The mechanics below are design goals, and the windows are sketches. Recovery is an area we intend to test with failure drills before turning on any write feature.

Find the log

The first safety rule is that FileFlock writes down what it intends to do before it does it, and what it did afterward. Every move, rename and delete is an entry in a record kept on your computer. An entry holds the place and the file's stable identifier in that service, the old and new path or name, the version it saw, the time, and the plan it belonged to. Paths change, but the identifier lets the app find the right file even after it has been moved twice.

Changes begin as plans. In review an AI filing plan you see each step first, can drop individual steps, and approve the rest. The plan shows the source, the destination, any name clash and how long the change can be undone. Before running, the app re-checks that the file's version and your permission have not changed; if they have, it asks you again. Text inside a file that sounds like an instruction is treated as file content, not as an order.

Operation record
Today, 4 entries from the plan "Tidy Downloads"
scan_0412.jpg renamed to 2026-04-12 deposit receipt.jpg
This computer
Invoice-0312.pdf moved to Finance / 2026
Drive
Invoice-0312 (1).pdf moved to the recycle bin
This computer

Design sketch with made-up files. The final record may show different details.

Restore

Pick an entry, or the whole plan, and choose undo. FileFlock then shows a preview of what will happen before touching anything: which file, from which path back to which path, and whether the original location is still free.

Three situations get different handling:

  • The original path is free. The file goes back where it was, with its old name.
  • Another file now has that name. The restored file is saved beside it under a new name, such as a suffix on the old one. It never silently replaces the other. You can then keep both, rename one or compare them.
  • The file changed since. If you or someone else edited it after FileFlock's change, undo does not overwrite that newer work. It shows you the situation and waits.
Undo: Invoice-0312 (1).pdfNothing has changed yet
Preview
Take it out of the recycle bin and put it back in Downloads
A file with this name exists now, so save the restored copy as Invoice-0312 (restored).pdf
Choose a different nameRestore
This restore is recorded too, and can be undone

Design sketch of a restore preview with a name clash. The final window may differ.

Restoring is itself a change, so it is recorded. If the same click lands twice, the app uses an idempotency key and does not do the work twice. Two operations on the same file cannot run at once, and when the app cannot tell what state a file is in, for instance after a crash or a power cut halfway through, it checks the destination first and leaves the decision to you. That matters most for moving files between accounts, and the way a copy is checked after the transfer is in copy files between cloud accounts. Duplicate clean-ups, covered in which copies are taking up space, follow the same rule: copies go to the recycle bin, not out of existence.

Expiry

The recycle bin is not forever. Each storage service empties its own trash on its own schedule, and FileFlock cannot extend it. So the plan states the time limit for undo up front, and the record shows which entries are still restorable. Once a service has emptied its bin, the entry stays in the log as history, but the file cannot come back through FileFlock.

That is why certain places are treated carefully:

Moving a file out of a cloud account that you intend to close is the riskiest case, because the source is the only copy. The design keeps the source until the new copy is verified, and only then offers to send the original to its bin.

For a worked example, finding a receipt ends with a filing plan and its undo, and finding the approved version for a client shows a handoff where nothing is deleted. Keep a note of the date your plan ran, since expiry is counted from then. Policies for the site are in the terms of use. For questions that are not here, return to the help center, and for why a first scan is slow, read why indexing takes time.

Common questions

Can the AI delete a file permanently?

No. Deleting is designed to move a file to the recycle bin only, and only after you approve a plan. Where a place has no recycle bin, deleting is switched off. See review an AI filing plan.

What if I already edited the file somewhere else?

Undo does not overwrite a file that changed since FileFlock touched it. The design is to stop and show you both, so nothing you wrote is lost.

Is the operation record sent anywhere?

No. It is kept on your own computer. Diagnostic bundles, if you ever export one, are previewed by you first and leave out file names and paths by default. See where your files and prompts go.

How long can I restore from the recycle bin?

That depends on the storage service's own rules, so the app is designed to show the expected end of the window before each deletion. We give no figure here because it differs by service. Check the page for your service, such as Google Drive.

Launch notice

Be first to try FileFlock.

FileFlock is in development for Windows, Mac and Linux. Leave an email and we will write once, when it is ready to download.

Your computer
Where your files live
Mostly for

One email at launch, plus a reply if you ask a question. No newsletter. See the privacy policy.