Skip to main content

Move files by date into folders month by month

Project description


Files Organizer

It's a great tool to organize your photos, videos, documents, etc based on their date. When you run the tool, all the files in the current directory will be moved to the corresponding folders organized by month and year.
:warning: Linux limitation: If the file doesn't have a date on it's name, it's not possible to get the file creation date, so the last modified date will be used instead. :warning:

Explore the docs »
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Features

  • It has 4 ways to identify the files date
  • Cross-platform (Windows, Mac, Linux)
  • Do a backup by default
  • Organize files in folders created by month and year (like 2022-01)

Built With

  • Python3 - A general-purpose, high-level programming language
  • fire - A google library for creating CLI applications

Getting Started

You can install the tool from PyPI or directly from GitHub. You just need to have Python3 installed.

PyPI Installation

  • Windows:
    pip3 install files-organizer[win]
    
  • Mac or Linux:
    pip3 install files-organizer
    

GitHub Installation

  1. Clone the repo
git clone https://github.com/xandao6/files-organizer.git
  1. Install the tool
cd files-organizer
python3 setup.py install
  1. (Windows Only) Install Dependencies
python3 -m pip install pywin32

Usage

  • Run the tool on the current directory and do a backup
    files-organizer
    
  • Run the tool on the current directory without backup
    files-organizer --no-backup
    
  • Run the tool specifying the path and do a backup
    files-organizer --path=path/to/directory
    
  • Run the tool specifying the path without backup
    files-organizer --path=path/to/directory --no-backup
    
  • Show the help
    files-organizer --help
    

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Free software =)

Contact

Alexandre Calil - @xandao6 - alexandrecalilmf@gmail.com

Project Link: https://github.com/xandao6/files-organizer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

files-organizer-1.0.3.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

files_organizer-1.0.3-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page