Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbernheim4/name-changer
https://github.com/sbernheim4/name-changer
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/sbernheim4/name-changer
- Owner: sbernheim4
- Created: 2015-07-06T03:56:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-01T22:39:27.000Z (over 8 years ago)
- Last Synced: 2023-03-02T06:56:02.701Z (over 1 year ago)
- Language: Python
- Size: 9.91 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Name-Changer
This program makes it easy to batch rename files based on a desired pattern which already exists within the names of
files or based on a simple numbering scheme. For example if you have 3 files namedbadFileName (01) createdby obnoxiousTextThatPeoplePut.jpg
badFileName (02) createdby obnoxiousTextThatPeoplePut.jpg
badFileName (03) createdby obnoxiousTextThatPeoplePut.jpgand you wanted to rename them to something like
Image 01.jpg
Image 02.jpg
Image 03.jpg
this script allows you to isolate only certain parts of the current name and add it in your own name in addition to any
conventions you would like to follow. This can also be modified to be used with counter variables if the current file
names do not contain anything worth preserving. Some modification to the script may be needed as some of the paths are
hardcoded.THE ORIGINAL FILES ARE OVERWRITTEN WITH THE NEW FILES.
How to Use this program
THIS PROGRAM ONLY WORKS FOR MAC OR *nix BASED COMPUTERS1. If you are using a mac, remove the .DS_Store file
2. Modify the paths in this program to suit your specific file paths
3. Type your desired name in the python file in the newName variable
4. Make sure all the path names are correct
5. Read the third to last comment before runningLimitations
1. The new file name cannot include the / character