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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: files-organizer-1.0.3.tar.gz
  • Upload date:
  • Size: 6.0 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.3.tar.gz
Algorithm Hash digest
SHA256 0c8ff33f8ed4de8acb1e404de7326c3fc50b1fa0b17188c678771ae08f6a5e5a
MD5 6bddfbfd21f9fe92c0e00ff6dcc552a3
BLAKE2b-256 5914dbbb36afd20d521f9b47195d4a33f8faaa5bba24ec15fe9b8ed4344a3836

See more details on using hashes here.

File details

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

File metadata

  • Download URL: files_organizer-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 510d18750b47696c0c597457cb33f87f0c640d36767ec154b5467fd9e3e5be05
MD5 6a1f4e407962e4cf7b2c2b0728911701
BLAKE2b-256 33fb26e5707f65baba6da70da6c3ddd5b4cf6760222e44bdd460d8872036affb

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