A Qt-based application for batch renaming image files with preview capabilities, designed for Kubuntu and other Linux distributions.
- File browser with folder navigation
- Thumbnail image previews with multi-selection
- Loads all images in a folder without artificial limits
- Multiple renaming schemes:
- Custom name patterns
- Find and replace text
- Case conversion (lowercase, UPPERCASE, Title Case)
- Sequential numbering with customizable options
- Real-time preview of renamed files
- Conflict detection and validation to prevent overwrites and invalid filenames
- Option to move files to a different folder
- Skip confirmation option for faster batch processing
- Python 3.8+
- PySide6 6.6.0 or newer
- Pillow 10.0.0 or newer
# Clone the repository
git clone https://github.com/magealexstra/NameGen
cd NameGen
# Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate # Linux/macOS
# Or on Windows:
# .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt# Make sure your virtual environment is activated
python3 src/main.py- Navigation: Browse folders using the file tree on the left
- Selection: Select one or more images in the center pane
- Configure: Set up renaming options in the right panel:
- Name Template: Enter a new name pattern
- Find/Replace: Specify text to find and replace
- Case: Change text case (preserve, lowercase, UPPERCASE, Title Case)
- Sequential Numbers: Add sequential numbers with custom settings
- Destination: Optionally move files to a different folder
- Preview: View how files will be renamed in the preview section
- Apply: Click "Rename Files" to apply the changes
- Skip Confirmation: Check the "Skip confirmation" option to avoid confirmation dialogs
Tests are excluded from version control but can be run locally if present:
python3 -m unittest discover tests
python3 tests/test_renamer_functionality.pysrc/main.py- Application entry pointsrc/renamer_engine.py- Core renaming functionalitysrc/ui_module.py- Qt-based user interfacetests/- Unit tests (ignored in git)Data/- Sample images for testing (ignored in git)
MIT