Skip to main content

sortnest

Tidy any folder by file type. It shows a preview first, and you can undo the last run at any time.

Features

  • Sorts files into folders: Images, Videos, Music, Documents, Archives, Programs, Code and Others
  • Preview before anything is moved
  • One-step undo
  • Never overwrites: name clashes become file (1).ext
  • No dependencies, pure Python

Install

pip install sortnest

Usage

sortnest

Or, without installing the command:

python -m sortnest

Then enter a folder path (press Enter for your Downloads folder) and choose:

  1. Organize files
  2. Undo last organize

Customize

Open src/sortnest/organizer.py and edit the CATEGORIES dictionary to add your own file types.

License

MIT

Release files for sortnest 0.1.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 sortnest 0.1.0
File Size Uploaded
sortnest-0.1.0.tar.gz 4.3 kB Details

Built distribution (wheel)

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

Total release size: 9.3 kB

Release files / sortnest-0.1.0.tar.gz

Download URL sortnest-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c608dd80d89a6303425512df21ac4a630bef7bdf5977aee28e34fc9658b2bb03
BLAKE2b-256 checksum
How to use checksums
b8929805a76a473890639e93354a54665c1799d0ab43a0a63d70e6c9879abec5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / sortnest-0.1.0-py3-none-any.whl

Download URL sortnest-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d381bf41ca70e40a6aa12784078532ea2e1acfe185c19c27523abe4618a0cc8c
BLAKE2b-256 checksum
How to use checksums
a1ceee5e75d85671b51231c422fcb9b7faaa7abf9d296305ae9cbe5b9a3aa4f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.1.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