WP Manifestindependent plugin directory
manifest / media / custom-file-organizer

Custom File Organizer archived

A WordPress plugin with WP-CLI commands to organize files in the uploads directory to distribute files across more directories.

by Kyle Taylor · github.com/pantheon-se/custom-file-organizer · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/pantheon-se/custom-file-organizer/archive/refs/heads/main.zip

Readme

Custom File Organizer

Custom File Organizer is a WordPress plugin that provides WP-CLI commands to organize files in the uploads directory. It also includes an admin interface for monitoring and managing file organization.

Features

  • Organizes files in the wp-content/uploads directory based on the first character of the filename.
  • Provides an admin interface to monitor file movements and upload directory status.
  • Supports WP-CLI commands for advanced file management.

Installation

  1. Clone or download the plugin from GitHub.
  2. Upload the custom-file-organizer folder to your /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.

Usage

WP-CLI Commands

  • Scan Command: Scans directories and lists those with more than 50,000 files.
wp file-organizer scan
  • Organize Command: Organizes files in the upload directory. Includes a dry-run option.
wp file-organizer organize [--dry-run]

Admin Interface

Navigate to the 'File Organizer' page in the WordPress admin area to view the file organization status and recent activities.

Contributing

Contributions are welcome. Please create an issue or submit a pull request.

License

This plugin is licensed under the GPL-2.0-or-later license. See the LICENSE file for details.

Read the full README on GitHub →