Claude File Recovery enables the retrieval of files from session transcripts created by Claude Code. By parsing JSONL logs, this tool allows users to reconstruct files from any point in time, featuring an interactive terminal user interface, powerful search capabilities, and fast scanning for efficient recovery.
claude-file-recovery is a powerful tool designed for recovering files created and modified by Claude Code, leveraging JSONL session transcripts to effectively reconstruct lost files across various sessions. This project addresses the challenge of file management within Claude’s logging system by parsing detailed logs stored in ~/.claude/projects/, allowing users to retrieve lost information seamlessly.
/ for search).To get started with the claude-file-recovery tool, you can launch the interactive TUI with:
claude-file-recovery
Subsequently, users can:
claude-file-recovery list-files
claude-file-recovery list-files --filter '*.py'
claude-file-recovery extract-files --output ./recovered --filter '*.py'
The recovery process involves:
Contributions to enhance the tool are welcome, and users are encouraged to report issues or submit pull requests for improvements.
No comments yet.
Sign in to be the first to comment.