Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scriptprivate/prv
A terminal-based utility for mass-renaming files in Perl.
https://github.com/scriptprivate/prv
perl rename
Last synced: 27 days ago
JSON representation
A terminal-based utility for mass-renaming files in Perl.
- Host: GitHub
- URL: https://github.com/scriptprivate/prv
- Owner: scriptprivate
- License: mit
- Created: 2024-06-17T15:23:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-18T13:23:28.000Z (5 months ago)
- Last Synced: 2024-09-29T18:41:10.566Z (about 1 month ago)
- Topics: perl, rename
- Language: Perl
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
prv
A terminal-based utility for mass-renaming files in Perl.
---
### Summary
This Perl utility allows users to easily mass-rename files in a directory through a terminal interface. You can interactively edit filenames and choose to keep file extensions unchanged using the `-k` or `--keep` option. Additionally, you can filter files by specifying file extensions with the `-f` or `--filter` option.
---
### Download and Install
```bash
# Download
$ git clone https://github.com/scriptprivate/prv && cd prv# Install dependencies
$ cpanm --installdeps .
```---
### Commands
```
COMMAND FUNCTION
/path/to/dir Specify the directory containing files to rename
-k, --keep Keep the file extensions unchanged during renaming
-f, --filter Filter files by specified extensionsExamples:
perl prv.pl /path/to/directory
perl prv.pl /path/to/directory -k
perl prv.pl /path/to/directory --keep
perl prv.pl /path/to/directory -k -f .jpg .png
perl prv.pl /path/to/directory --keep --filter .jpg .png```
---