Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 5.98 KB

README.md

File metadata and controls

49 lines (33 loc) · 5.98 KB

simple-file-org

A very simple tool to organize files into folders based on creation times.

Usage

simple-file-org --help

Usage: simple-file-org [OPTIONS] SOURCE TARGET

Organizes files in the specified folder by year and date.
Args:     source (Path): The folder path where the files will be read from.     target (Path): The folder path where the files will be moved to.
Returns:     None

╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    source      DIRECTORY  The source directory where the files will be read from. [default: None] [required]                                                                                                                                                                                                                                                         │
│ *    target      DIRECTORY  The target directory where the files will be moved to. [default: None] [required]                                                                                                                                                                                                                                                          │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                                                                                                                                                                                                                                                                                                            │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Installation

pip install simple-file-org

Development

If you want to develop on this project, you can use the following instructions to setup your development environment.

Requirements

  • rye 0.40.0+

Setup

rye sync

Unit Tests

rye run unit