Skip to main content

Renamomicon Ex-Bulkus - An Evil Dead themed bulk file renaming utility

Project description

CodeQL [PyPI Package] [MIT Licence]

alt text

Renamomicon Ex-Bulkus

The script of the dead...AKA an Evil Dead themed bulk renaming utility.

Features

  • Backup Support: Automatic backup before renaming (enabled by default)
  • Dry Run Mode: Preview changes without applying them
  • Confirmation Prompts: Verify operations before execution
  • Logging: Optional file logging for audit trails
  • File Filtering: Filter by regex pattern or file extensions
  • Multiple Operations: 12+ renaming commands available

Installation

Install the .exe from releases

Or install from source:

git clone https://github.com/sorzkode/renamex.git
cd renamex
pip install -e .

Requirements

  • Python 3.8+
  • click
  • tkinter (included with Python on Windows, may need separate install on Linux)

Usage

Usage: renamex [OPTIONS] COMMAND [ARGS]...

  Renamomicon Ex-Bulkus - The script of the dead.
  An Evil Dead themed bulk file renaming utility.

Options:
  -v, --version   Show version information
  -l, --log-file  Log operations to file
  --verbose       Enable verbose output
  --help          Show this message and exit.

Commands:
  date       Add today's date to filenames
  extension  Change file extensions
  lower      Convert filenames to lowercase
  number     Add sequential numbers to filenames
  prefix     Add prefix text to filenames
  replacer   Replace part of filenames (supports regex)
  restore    Restore files from a backup directory
  sanitize   Remove/replace special characters from filenames
  suffix     Add suffix text to filenames
  titlecase  Convert filenames to Title Case
  upper      Convert filenames to uppercase
  xspaces    Remove spaces from filenames

Common Options (available on most commands)

Option Description
-d, --directory Directory to process (opens dialog if not specified)
-b, --backup/--no-backup Create backup before renaming (default: enabled)
--dry-run Preview changes without applying them
-y, --yes Skip confirmation prompt
-p, --pattern Regex pattern to filter files
-e, --extensions File extensions to include (e.g., -e .txt -e .pdf)

Examples

Remove spaces from filenames:

renamex xspaces -d /path/to/files

Replace text in filenames (with regex support):

renamex replacer -d /path/to/files -f "old" -r "new"
renamex replacer -d /path/to/files -f "IMG_(\d+)" -r "photo_\1" --regex

Add date to filenames:

renamex date -d /path/to/files --delimiter "_" --format "%Y-%m-%d"

Add sequential numbers:

renamex number -d /path/to/files --start 1 --padding 4 --template "{num}_{name}"

Dry run (preview without changes):

renamex upper -d /path/to/files --dry-run

Process only specific file types:

renamex lower -d /path/to/files -e .jpg -e .png

Restore from backup:

renamex restore -b /path/to/.renamex_backup_20231201_143022

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

renamex-2.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

renamex-2.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file renamex-2.1.0.tar.gz.

File metadata

  • Download URL: renamex-2.1.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for renamex-2.1.0.tar.gz
Algorithm Hash digest
SHA256 bd5189f1a949f3b5a14bc9a41d83ff65eb51c335bb8d2ae08cb8f56e7bf56a25
MD5 04abb831f7a168ebebb1da70a01fa4ce
BLAKE2b-256 6bd1bd8cc106ac26865b37f3d3950cf1cc3f8325eb30e69ae03d72b26679d20d

See more details on using hashes here.

File details

Details for the file renamex-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: renamex-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for renamex-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32d42b853a1ad5d66256adc205b6b550102ffdfa2e63aca7c3d554b5afd8f168
MD5 72feaaacac65efabe55b6fbb112fe027
BLAKE2b-256 9393e7697b036f711319ebebaaf3df854a6e902fd0fb53964db64fc1d6fc9d45

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