Skip to content

2KAbhishek/orgpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License People Stars Forks Watches Last Updated

Organize your digital mess πŸ—‚οΈπŸ—ƒοΈ

orgpy is a utility that allows you to quickly organize your files in a predefined structure

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of python3

Installing orgpy

To install orgpy, follow these steps:

git clone https://github.com/2kabhishek/orgpy
cd orgpy
# Setup symlink, make sure target directory is added to PATH
ln -sfnv "$PWD/orgpy.py" ~/Applications/bin/orgpy

Using orgpy

USAGE:
    orgpy [-h] [path] [--dry-run] [-c CONFIG_FILE] [--config-path]

Organize your digital mess.

positional arguments:
  path                  The directory path to organize. [Default: current working directory]

options:
  -h, --help            show this help message and exit
  --dry-run             Preview changes without actually moving files.
  -c, --config CONFIG_FILE
                        Path to custom configuration file.
  --config-path         Show configuration file path and exit.

Visit github.com/2KAbhishek/orgpy for more.

EXAMPLE:
orgpy ~/Downloads     # Organizes your downloads directory
orgpy ~/Desktop --dry-run  # Preview what would be organized in desktop

Configuration

orgpy automatically creates a config file at ~/.config/orgpy.json on first run with default file categories. You can customize this file to add your own categories or modify existing ones.

# Show config file location
orgpy --config-path

# Use custom config file
orgpy --config /path/to/custom/config.json

Running Tests

The project includes a comprehensive test suite with zero external dependencies (uses only Python's built-in unittest):

# Run all tests
python3 tests/test_orgpy.py

# Or run with module discovery
python3 -m unittest discover tests -v

Hit the ⭐ button if you found this useful.

About

Organize your digital mess. πŸ—‚πŸ—ƒ

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Generated from 2KAbhishek/bare-minimum