📁 File Management 📖 Official

Duplicate File Detection and Cleanup

Scan folders to identify duplicate files, generate cleanup report and safely delete copies

★☆☆ Beginner 10-20 min January 12, 2026
📋

Scenario

My documents folder has accumulated many duplicate files taking up storage space, need to identify and clean up these copies.

💬

Prompt

Scan /Documents for duplicate files:
- Compare by file content, not just names
- Group duplicates and identify the original (oldest or in main folder)
- Create a report showing duplicates and space that can be freed
- Move duplicates to a review folder before deletion

Expected Result

Claude identifies duplicates by comparing content (not just names), generates detailed report showing space that can be freed, moves copies to a review folder for user confirmation before deletion.

💡

Tips

  • Generate report for review first before deleting
  • Can process by file type (images, documents, etc.)
  • Set minimum file size to filter small files