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
  ```
3. (Windows Only) Install Dependencies
```sh
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.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distributions

files_organizer-1.0.1-py3.9.egg (8.2 kB view details)

Uploaded Source

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: files-organizer-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5088f9bd4ff3ed09d3a4354dac6bd34d16e16523a2e76ab2b6e287a3f23a1879
MD5 0819e7f2c7f0563afb28338781b96852
BLAKE2b-256 082fd5c05decc84b438ec47ec01ea50302b8e216cc125ccad60d4be6bed445b5

See more details on using hashes here.

File details

Details for the file files_organizer-1.0.1-py3.9.egg.

File metadata

  • Download URL: files_organizer-1.0.1-py3.9.egg
  • Upload date:
  • Size: 8.2 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.1-py3.9.egg
Algorithm Hash digest
SHA256 ca18a6fb01419e4d2d046f4af14dd51c9c10c2caff4fd5f13ae6b1554e2f465d
MD5 6c7d0305a2e7f904169360e184f3903e
BLAKE2b-256 6a22016587def7d8c377902e876dcabf9261dd0febff2e5d2427943cc5e30aea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: files_organizer-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 238bc0c3e5e73913eb8da47160bd5e18749915ebc1a6f10db05192e898d8994a
MD5 0190f38ad68f4f116287692549527a8c
BLAKE2b-256 cf6c47a2a86085dff1a869b3168729aeeeb4f592940810678c05c6d187dc51d2

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