Skip to content

If the files in a folder have long names with repeating part, This app will remove unnecessary part and keep the Identifying part of the name only .

Notifications You must be signed in to change notification settings

paritoshM9/File-Name-Shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Description:

This is just a mini project to solve a problem which I face often. When we download multiple files from the same source , sometimes their names are similar to this:
file1- 'unnecessarylongcommonpart-chapter1.pdf'
file2- 'unnecessarylongcommonpart-chapter2.pdf'
file3- 'unnecessarylongcommonpart-chapter3.pdf'

When there are a large number of files, its difficult to manually rename them. This application does that for you in seconds.
After running this is what we get:

file1- 'chapter1.pdf'
file2- 'chapter2.pdf'
file3- 'chapter3.pdf'

How to Use:

1)Make a folder containing all the files of similar category. (same source)
2)Open this Python script and change the folder location to your folder location.( Dont forget to use double slashes in the address)
3)Save and Run

That's it ! All the files' names will only contain the identifying parts.

Future Changes:


I feel opening the script and changing the folder location is a little irritating. The desirable usage will be something like this - Right click on the folder having the files and Select option for our application.

About

If the files in a folder have long names with repeating part, This app will remove unnecessary part and keep the Identifying part of the name only .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages