Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szhu/batchrename
Need to rename a bunch of files and only have a smart text editor? Fear not!
https://github.com/szhu/batchrename
Last synced: about 2 months ago
JSON representation
Need to rename a bunch of files and only have a smart text editor? Fear not!
- Host: GitHub
- URL: https://github.com/szhu/batchrename
- Owner: szhu
- Created: 2013-09-05T17:04:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-25T10:07:36.000Z (over 10 years ago)
- Last Synced: 2024-04-11T15:52:48.578Z (9 months ago)
- Language: Python
- Size: 148 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
batchrename
===========Need to rename a bunch of files and only have a smart text editor? Fear not!
Ever had a bunch of files in a directory that you wanted to rename at once? With **batchrename**, now you can—
+ Change the capitalization of filenames
+ Find-replace strings in filenames
+ Maniupulate file extensionsThere are GUI programs that grant some of this functionality, but why use a GUI for text operations you’re already familiar with?
It’s simple:
1. Create the file `_` (single underscore), with the old filenames, one per line.
2. Create the file `__` (two underscores), with the new filenames in the same positions
3. `batchrename`!**batchrename** is only tested with files in the same directory but will probably work with subdirectoies and parent directories with the use of `/` and `..`.