Skip to main content

File Organizer CLI

tidyfs is a simple and efficient command-line tool to organize files in a directory by sorting them into folders based on their extensions. This tool also supports scheduling the file organization process using cron jobs.

Features

  • Automatically moves files into categorized folders based on their extensions.
  • Supports custom directory paths.
  • Allows scheduling file organization using cron jobs.
  • Lightweight and easy to use.

Installation

Ensure you have Python installed (>=3.6), then install the required dependencies:

pip install tidyfs

Usage

Organize Files

To organize files in a specific directory:

tidyfs move /path/to/directory

Schedule Organization with Cron

To schedule file organization at a specific time:

tidyfs cron "0 2 * * *" /path/to/directory

This example runs the file organization process every day at 2 AM.

Requirements

  • Python 3.7+
  • typer for CLI functionality
  • cron-validator for validating cron expressions

License

This project is licensed under the MIT License.

Contributing

Pull requests and suggestions are welcome! Feel free to submit issues or contribute to improvements.

Metadata

Release files for tidyfs 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tidyfs 1.0.0
File Size Uploaded
tidyfs-1.0.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tidyfs 1.0.0
File Interpreter ABI Platform
tidyfs-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / tidyfs-1.0.0.tar.gz

Download URL tidyfs-1.0.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a7803a1ff0d81741214233da74273c72be20574301cb578576a6f82c51ae849a
BLAKE2b-256 checksum
How to use checksums
7cd464c9ec6222c2bfb0fdbd1aef2f161624c2015f78ce696fd0365a03dd8cf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / tidyfs-1.0.0-py3-none-any.whl

Download URL tidyfs-1.0.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17da2e7732e3fbcd233d3ee27620dce23ab4a9b60cc5c2d72ce998be34d73556
BLAKE2b-256 checksum
How to use checksums
a6cfe077fbff1f2c4757b0e3d4cad96241b09fa40b03fb49d6e0bbbfd96ba1f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page