Skip to main content

PMMV - Python Mass Move: A tool for batch renaming/moving files with an interactive editor

Project description

PMMV - Python Mass Move

PMMV is a tool for batch renaming/moving files with an interactive editor. Most useful when you need to rename a huge amount of files and could benefit from scripted macros. Works best with fd.

Features:

  • Rename files in the comfort of your favourite editor.
  • .pmmv.undo files allow you to undo your last renaming!
  • Git integration for renaming files.

Installation

Install using pip:

uv tool install pmmv

Usage

This was built with vim in mind, though any editor will work. The script will look at the EDITOR variable to determine which editor to use. For instance, export EDITOR=code would open vscode.

uvx pmmv *.txt
# Or include a full directory
uvx pmmv my_dir/

Or pipe files from another command:

find . -name "*.txt" | uvx pmmv
# Or try the much faster fd-find
fd -e txt | uvx pmmv

Acknowledgements

This is my first project that's almost entirely vibe-coded. I used an initial prompt to claude sonnet 4.5 which can be seen at docs/initial_prompt.txt. I then used qwen3-coder-30b-a3 from cpatonn through vllm 0.11.0 and Qwen Code 0.0.14 to iterate further on the code.

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

pmmv-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distributions

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

pmmv-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

pmmv-0.1.0-1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pmmv-0.1.0.tar.gz.

File metadata

  • Download URL: pmmv-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for pmmv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09dd368014d4623d653f817302be32b02d06d3595c4bcb973421c968a9874a8d
MD5 5cb9034387b7e8332c22927d47023a21
BLAKE2b-256 e1960915066e8256326f4761d55e6128a9350732d7597b8afb770fac71954a93

See more details on using hashes here.

File details

Details for the file pmmv-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pmmv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for pmmv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 986066473c7385a5811d7efdf4e6f7ca77fa2f0fb8d227d0fe90f7f2453537ea
MD5 d80649736726369a6b3fb60f13f51cb4
BLAKE2b-256 230ffb439663792f991ef3cba70de19b80717bae499c29bfa6a01ed8c9b5cfbe

See more details on using hashes here.

File details

Details for the file pmmv-0.1.0-1-py3-none-any.whl.

File metadata

  • Download URL: pmmv-0.1.0-1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for pmmv-0.1.0-1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbd78a93bc827e377df2cd291ced4858b8ec28d2926545968d8ed385666ccb2a
MD5 184fc0909b922e3e66b9449fe22d495a
BLAKE2b-256 9503623f24cde2e907a97aa5b45a7e4407eabd5dbb4347fd59c53ce435479dc8

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