Created
December 9, 2014 08:20
-
-
Save ayushgoel/1966a1470379c1599762 to your computer and use it in GitHub Desktop.
Rename all files in current folder - remove first 3 chars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in os.listdir('.'): | |
if i.startswith('.') == False: #Hidden files | |
os.rename(i, i[3:]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment