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.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

files_organizer-1.0.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file files-organizer-1.0.2.tar.gz.

File metadata

  • Download URL: files-organizer-1.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.7

File hashes

Hashes for files-organizer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3d24079e0ef7d5b2e0ff43e7ff89c40067121fe6f463b6fdded17ba8444d4994
MD5 21a8edc1b4a92e81590741ae126c03eb
BLAKE2b-256 baf1a340e9fcd837177e8efb23241c64fd6e15e96ab0534a312c7d4b7a4dd6e2

See more details on using hashes here.

File details

Details for the file files_organizer-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: files_organizer-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.7

File hashes

Hashes for files_organizer-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 739e548faee4a618d578addb0eb82de7867040fbd4fb710c124a15b225657cc1
MD5 3c1ab7efc222ecdce02aeca1459a70c4
BLAKE2b-256 b11eb67ff2309063712259c2f5ec474cfce6c439a436ad8b3cd8557e31d0ba90

See more details on using hashes here.

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