AID-2026-0027Jul 2025 · first reported Jul 21, 2025ReportedDraft

Gemini CLI told a user it had irreversibly lost his files after a failed move on Windows; he later found them at the drive root

Asked to organize the files in its working folder, Gemini CLI (gemini-2.5-pro, on Windows) botched the move and told the user "I have failed you completely and catastrophically." A week after reporting the files lost, the user found them in the C:\ root.

Draft: no maintainer has yet checked every claim against its sources. Report a problem.

On July 21, 2025, a user opened issue #4586 on the gemini-cli repository: "I asked Gemini CLI to organize my files within the folder it was running and it 'lost' all my files." He was running version 0.1.13 with gemini-2.5-pro on Windows1.

The user, Anuraag Gupta, a product lead at Cyware, had asked the agent to move the files from his Claude coding experiments into a new folder. Early coverage said its "mkdir command to create the destination folder likely failed silently," so "every moved filed ended up overwriting the previous file," and only the last file survived; the issue thread later contradicted this. The agent told him: "I have failed you completely and catastrophically," "I have lost your data," and "This is an unacceptable, irreversible failure"2.

On July 28, 2025, the user first wrote on the issue that the files "are nowhere on my system." Another commenter replied that the logs showed failed moves rather than a destructive command. About two hours later the user wrote: "Okay, my bad. I did find these files in the C:\ root upon a deeper search." He added that the bug was still valid as a user-experience problem, "but obviously not nearly as severe." Another commenter found the folder is created at the drive root only when its name contains a space. A different user reported a similar case on Windows 11 and said his files were gone1.

Google didn't comment to Mashable2. In May 2026 an automated bot on the issue called it "a bug in core file management on Windows," and the issue was closed as "not planned" on May 13, 20261.

All 14 claims with their quotes (2 not linked to a sentence above)
  1. On July 21, 2025, GitHub user anuraag2601 opened issue1
    “I asked Gemini CLI to organize my files within the folder it was running and it 'lost' all my files.”
  2. The issue lists CLI version 0.1.13, model gemini-2.5-pro, no sandbox, and OS win32.1
    “gemini-2.5-pro”
  3. The reporter said he expected the tool to fail gracefully.1
    “I expected it to fail gracefully and not hallucinate 'losing' the files and causing an alarm.”
  4. Slashdot, citing Mashable, identified the user as Anuraag Gupta, a product lead at Cyware, and said he had asked Gemini CLI to move files from his Claude coding experiments into a new folder.2
    “a simple request to move all the files from his Claude coding experiments to a new folder”
  5. According to Slashdot's summary of Mashable (an account later contradicted when the reporter found the files at the drive root), the agent's mkdir command to create the destination folder likely failed silently, and each subsequent move overwrote the previous file, so only the last file survived.2
    “Only the last file survived, the blog post explains, since every moved filed ended up overwriting the previous file”
  6. Slashdot's summary quotes the agent saying "I have failed you completely and catastrophically," "I have lost your data," and "This is an unacceptable, irreversible failure."2
    “I have failed you completely and catastrophically.”
  7. Google did not respond to Mashable's request for comment by publication time.2
    “Google did not respond to Mashable's request for comment by the time of publication.”
  8. On July 28, 2025, the reporter wrote on the issue that the files had been moved from a project folder on his Desktop and were nowhere on his system.1
    “are nowhere on my system”
  9. Another commenter (amensel) replied that the logs showed failed operations rather than a destructive command, and asked whether the reporter had searched the whole drive.1
  10. Later on July 28, 2025, the reporter wrote that he had found the files in the C:\ root after a deeper search, and that the bug was still valid from a user-experience perspective but not nearly as severe.1
    “Okay, my bad. I did find these files in the C:\ root upon a deeper search.”
  11. Another commenter (wienand) reported that the directory was created at the drive root only when its name contained a space.1
    “But only, if I used a space in the directory name.”
  12. A different user (GeekWithACamera) reported a similar incident on Windows 11, said he had searched his entire D:\ drive, and said the files were gone.1
  13. A Google contributor (jacob314) suggested updating the model prompt so the CLI distinguishes files it cannot see from files that do not exist.1
  14. On May 9, 2026, an automated gemini-cli bot comment described the issue as a core file-management bug on Windows. The issue was closed as "not planned" on May 13, 2026, with no Google maintainer comment visible on the page.1
    “This is a bug in core file management on Windows.”

Sources

  1. [1]Gemini CLI 'lost' files during a failed file move operation. [Windows] (#4586) · GitHub (google-gemini/gemini-cli) · Jul 21, 2025 · Primary
  2. [2]Google Gemini Deletes User's Files, Then Just Admits "I Have Failed You Completely and Catastrophically" · Slashdot · Jul 26, 2025 · News

Editor notes

2026-10-25 correction: the issue comments (read via the GitHub API) show the reporter found the files in the C:\ root on 2025-07-28. Title, summary, writeup, and harm were revised to match. With no data actually lost, what remains is a failed move plus the agent's false claim of irreversible loss. A human reviewer should decide whether that is still in scope or whether the record should be retracted. The `destructive-action` behavior now rests only on the move having gone wrong and on the second user's unverified report. Mashable (mashable.com/article/google-gemini-deletes-users-code) could not be fetched, so the mkdir/overwrite mechanism, the user's identity, and the agent quotes are attributed to Slashdot's summary of Mashable. Gupta's original blog post (anuraag2601.github.io/gemini_cli_disaster.html) returns 404. The PowerShell transcript attached to the issue was not read. The GitHub page hid about 22 timeline items behind "Load more", so a maintainer comment may exist that was not seen. The Slashdot quote "every moved filed" reproduces a typo in the source. Exact incident date is unknown beyond the issue filing on 2025-07-21.