Skip to main content

tidyfs is a simple CLI tool to organize files in a directory

Project description

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.

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

tidyfs-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tidyfs-1.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file tidyfs-1.0.0.tar.gz.

File metadata

  • Download URL: tidyfs-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tidyfs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a7803a1ff0d81741214233da74273c72be20574301cb578576a6f82c51ae849a
MD5 ad957a17a90358d563bb96e5c978ecfb
BLAKE2b-256 7cd464c9ec6222c2bfb0fdbd1aef2f161624c2015f78ce696fd0365a03dd8cf5

See more details on using hashes here.

File details

Details for the file tidyfs-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tidyfs-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tidyfs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17da2e7732e3fbcd233d3ee27620dce23ab4a9b60cc5c2d72ce998be34d73556
MD5 f03808badce9e3f907d127be003463c6
BLAKE2b-256 a6cfe077fbff1f2c4757b0e3d4cad96241b09fa40b03fb49d6e0bbbfd96ba1f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page