Skip to main content

Neatify

A simple CLI tool to organize files in a folder by their extensions.

Features

  • Automatically organize files into folders by type (images, documents, videos, etc.)
  • Manage custom extension mappings
  • Add, remove, and list file extension categories
  • Restore default extension mappings

Screenshot

Neatify in action

Organizing files with Neatify

Installation

From Source

# Clone the repository
git clone https://github.com/anmoljhamb/neatify.git
cd neatify

# Install in development mode
pip install -e .

Using pip

pip install neatify

Getting Started

After installation, you'll need to set up your configuration file before organizing files.

  1. Generate the default configuration:
   neatify default

This creates a comprehensive list of file extensions organized by categories (Images, Documents, Videos, etc.).

  1. Verify your configuration (optional):
   neatify list

This shows all configured categories and their extensions.

  1. Organize your first folder:
   neatify organise /path/to/folder

Note: Running neatify organise without first running neatify default will fail because no configuration file exists yet.

Usage

Organize a Folder

neatify organise /path/to/folder

This will organize all files in the specified folder into subfolders based on their file types.

List Extensions

View all configured file extension categories:

neatify list

Add an Extension

Add a new extension to a category:

neatify add Image .webp

Remove an Extension

Remove an extension from a category:

neatify remove Image .webp

Remove a Category

Remove an entire category:

neatify rmcat oldcategory

Clear All Extensions

Clear all extension mappings:

neatify clear

Restore Defaults

Restore the default extension mappings:

neatify default

Custom Extensions File

Use a custom extensions JSON file:

neatify --file custom_extensions.json organise /path/to/folder

Examples

# Organize your Downloads folder
neatify organise ~/Downloads

# Add .svg to the image category
neatify add Image .svg

# View all extensions
neatify list

# Remove a category you don't need
neatify rmcat Audio

Metadata

Release files for neatify 1.0.3

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

Source distribution (sdist)

Source distribution for neatify 1.0.3
File Size Uploaded
neatify-1.0.3.tar.gz 6.2 kB Details

Built distribution (wheel)

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

Total release size: 13.0 kB

Release files / neatify-1.0.3.tar.gz

Download URL neatify-1.0.3.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bc873a9f3b1ca3986cb254f0073aeb6828449dc67e5e76a172d6a291d0bb82c4
BLAKE2b-256 checksum
How to use checksums
5015ce7a5387842d45ac8f8ec582ea5a4c558bde2559746f9455357f7ce67528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / neatify-1.0.3-py3-none-any.whl

Download URL neatify-1.0.3-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3e94eed244a377f21f3798225bc69cb8c4fb0f1fab7216e9cb326e5c6eaabf1
BLAKE2b-256 checksum
How to use checksums
ea6e0c7a53f45930d477ed1e624c21b82f436b2360b90c004e6426e9593b2d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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