Coder Social home page Coder Social logo

custom-file-organizer's Introduction

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.

custom-file-organizer's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.