Media Sweep – WordPress Media Cleaner

描述

Media Sweep: The Ultimate WordPress Media Library Cleaner

Media Sweep is a powerful WordPress plugin designed to help you reclaim valuable server space by identifying and safely removing unused media files from your WordPress site. Whether you’re dealing with orphaned attachments, forgotten uploads, or files left behind by themes and plugins, Media Sweep provides a comprehensive solution to keep your media library clean and organized.

Perfect for bloggers, agencies, e-commerce sites, and any WordPress website looking to optimize storage space and improve site performance.

🚀 Key Benefits:

Reclaim Server Space – Remove unused files and free up valuable storage
Improve Site Performance – Faster backups and reduced server load
Safe & Reversible – Files moved to trash folder, not permanently deleted
Smart Detection – Advanced algorithms identify truly unused files
Batch Operations – Process multiple files efficiently
Detailed Analytics – Comprehensive scan reports and file insights

🎯 Core Features

🔍 Dual Scan Modes

Media Library Scan
* Scans all media attachments in your WordPress library
* Checks for usage in posts, pages, and custom fields
* Detects thumbnail and size variations
* Identifies gallery shortcodes and blocks
* Fast and efficient for large media libraries
* Recommended for most WordPress sites

File System Scan
* Deep scan of your uploads directory
* Finds orphaned files not in the media library
* Detects cache and temporary files
* Identifies theme and plugin generated files
* Comprehensive but may take longer to complete
* Best for sites with file management plugins

📊 Smart File Detection

  • Usage Analysis – Checks posts, pages, custom fields, and widgets
  • Database Scanning – Searches content for file references
  • Shortcode Detection – Identifies gallery and media shortcodes
  • Block Analysis – Scans Gutenberg blocks for media usage
  • Plugin Integration – Detects files used by popular plugins
  • Theme Assets – Identifies theme-related media files

🗂️ Advanced File Management

  • Status Classification – Files categorized as In Use, Unused, or Orphaned
  • Bulk Actions – Select and process multiple files at once
  • Smart Filtering – Filter by file type, status, date, and directory
  • Search Functionality – Quickly find specific files
  • Preview Mode – View files before taking action
  • Detailed File Info – Size, type, usage locations, and more

🛡️ Safety Features

  • Trash System – Files moved to secure trash folder, not deleted
  • Restore Capability – Easily restore accidentally removed files
  • Backup Integration – Works with popular backup plugins
  • Progress Monitoring – Real-time scan progress with pause/resume
  • System Resources – Intelligent resource management prevents timeouts
  • Rollback Protection – Safe operations with detailed logging

📈 Comprehensive Analytics

  • Scan History – Track all previous scans and results
  • Storage Statistics – See exactly how much space you’ve reclaimed
  • File Breakdown – Detailed analysis by file type and status
  • Usage Patterns – Understand your media library usage
  • Performance Metrics – Scan duration and processing statistics

🚀 Easy 3-Step Process

Step 1: Choose Scan Type
* Select Media Library or File System scan based on your needs
* Configure advanced options for thorough analysis

Step 2: Run the Scan
* Watch real-time progress as Media Sweep analyzes your files
* Pause and resume scans as needed without losing progress

Step 3: Review & Clean
* Browse detected files with detailed information
* Use bulk actions to efficiently process multiple files
* Restore files from trash if needed

🔧 Advanced Configuration

  • Scan Options – Deep scan, thumbnail inclusion, custom field checking
  • File Type Filters – Focus on specific file types (images, documents, etc.)
  • Directory Exclusions – Skip specific folders during scans
  • Performance Settings – Adjust batch sizes and resource limits
  • Automation Rules – Set up automatic cleanup schedules (planned for future versions)

💡 Perfect For

  • Content Creators – Bloggers and publishers with large media libraries
  • Web Agencies – Managing multiple client sites efficiently
  • E-commerce Sites – Cleaning up product images and assets
  • Membership Sites – Optimizing user-generated content
  • Portfolio Sites – Managing large image collections
  • News Sites – Handling high-volume media uploads

Support

Need help with Media Sweep? We’re here to assist!

Privacy

Media Sweep respects your privacy and does not collect or transmit any personal data. All file analysis and cleanup operations are performed locally on your server. No external services are contacted during plugin operation.

Credits

Media Sweep is crafted with ❤️ by the WPCreatix team. We’re passionate about creating tools that help WordPress users optimize and maintain their websites efficiently.

Special thanks to the WordPress community for their continuous feedback and support in making this plugin better.

螢幕截圖

  • Dashboard Overview – Clean, intuitive interface showing scan history and quick actions
  • Scan Type Selection – Choose between Media Library and File System scans with detailed explanations
  • Real-time Scan Progress – Watch your scan progress with detailed status updates and resource monitoring
  • Scan Results – Comprehensive file listing with status, size, and usage information
  • File Details – Detailed view showing where and how files are used across your site
  • Trash Management – Safe file removal with easy restore capabilities

安裝

Automatic Installation (Recommended)

  1. Go to Plugins > Add New in your WordPress admin
  2. Search for “Media Sweep”
  3. Click “Install Now” and then “Activate”
  4. Navigate to Media Sweep in your admin menu to get started

Manual Installation

  1. Download the plugin ZIP file
  2. Upload to /wp-content/plugins/media-sweep/
  3. Activate through the Plugins menu in WordPress
  4. Access Media Sweep from your admin dashboard

Getting Started

  1. Visit Media Sweep > Dashboard
  2. Click “Start New Scan”
  3. Choose your scan type and options
  4. Let Media Sweep analyze your files
  5. Review results and clean up unused files

常見問題

Is it safe to delete files found by Media Sweep?

Yes! Media Sweep uses advanced detection algorithms and moves files to a secure trash folder rather than permanently deleting them. You can always restore files if needed.

What’s the difference between Media Library and File System scans?

Media Library scans focus on WordPress attachments and are faster, while File System scans check all files in your uploads directory for a more comprehensive cleanup.

Can I restore deleted files?

Absolutely! Files are moved to the Media Sweep trash folder and can be easily restored through the Trash section of the plugin.

Will this work with page builders and plugins?

Yes! Media Sweep includes detection for popular page builders, gallery plugins, and other media-related extensions.

How much server space can I expect to reclaim?

This varies greatly depending on your site, but users typically reclaim 10-50% of their media storage space, sometimes even more on older sites.

Will this slow down my website?

No, Media Sweep only runs when you initiate a scan and includes intelligent resource management to prevent server overload.

Can I schedule automatic cleanups?

Currently, Media Sweep requires manual scan initiation. Automatic scheduling may be added in future versions.

評價

2025年12月12日
Thanks for this awesome plugin, I’ve used it in several sites and it works perfect the file detection in deep scan perfect. Thanks again.
2025年12月10日 1 reply
Great plugin! Two powerful scan types, full database detection, and all features are free. Much better than many paid alternatives. Definitely recommended.
2025年11月21日 1 reply
Among many others media cleaning plugins for me Media Sweep is the perfect choice. It delivers all the features that are promised on the plugin’s page. And I really wonder why there are not many installations of it. That’s what personally I really loved about this plugin:1. Beautiful interface – all sections and features are neat and clean: exemplary for plugin developers. And results report table is absolutely user-friendly and comfortable to work with. 2. Customizable media scan – mark what you need or don’t + choose between 2 scan modes: Media and Files, which is great. Many plugins are stuck with files only registered in media library and don’t see extra ones.3. Multiple scan reports – change settings and compare different modes and scanning features to find needed media more effectively.4. File restoration from trash – there is no risk of occasional and unwanted media removal, because files aren’t deleted permanently and can be retrieved.5. Flexible file sorting – by filters such as used, not used and also used, but not in media – this option is cool and lets to view files added on pages, but not registered in media library. And you can view on which page which media file is used.6. High performance – the plugin doesn’t use much server resources during the scanning: files are operated in separate batches. And it also works fast by itself, so there are no lags or errors. As I mentioned before all the features are cool and listed on the main page of the plugin.So I definitely recommend it for usage on any WordPress site, especially with a big amount of media to tidy it up.Additionally I want to mention quick and helpful support from the plugin developer. I had an issue with a scan process: it didn’t start, but with the help of the support it was successfully resolved. Thank you very much! 🙂 I hope this plugin will be very popular and high rated!
閱讀全部4個評價

貢獻者及開發者

“Media Sweep – WordPress Media Cleaner” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.0.2

  • Compatibility with WordPress 6.9
  • Improved review notice banner with better user experience

1.0.1

  • Fixed file status not being reactivated when previously trashed/deleted files are found again during new scans
  • Improved file record management to automatically restore files that were moved back to original locations

1.0.0 – Initial Release

🎉 Launch Features:

  • Dual Scan Modes – Media Library and File System scanning capabilities
  • Smart Detection Engine – Advanced algorithms for accurate unused file identification
  • Safe Trash System – Secure file removal with restore capabilities
  • Comprehensive Analytics – Detailed scan reports and file insights
  • Bulk Operations – Efficient processing of multiple files
  • Real-time Progress – Live scan monitoring with pause/resume functionality
  • Advanced Filtering – Filter by status, file type, date, and directory
  • Search Functionality – Quick file location and identification
  • Resource Management – Intelligent system monitoring prevents timeouts
  • Modern UI/UX – Clean, responsive interface optimized for all devices
  • Translation Ready – Full internationalization support
  • Developer Friendly – Extensive hooks and filters for customization

🔧 Technical Highlights:

  • Built with modern React components and WordPress REST API
  • Optimized database queries for large media libraries
  • Memory-efficient processing with batch operations
  • Compatible with popular caching and optimization plugins
  • Follows WordPress coding standards and security best practices
  • Extensive error handling and logging capabilities

🛡️ Security & Performance:

  • Secure file operations with proper capability checks
  • Nonce verification for all AJAX requests
  • Sanitized input/output throughout the application
  • Optimized for sites with thousands of media files
  • Minimal server resource usage during scans