I hereby claim:
- I am srustagi on github.
- I am srustagi (https://keybase.io/srustagi) on keybase.
- I have a public key whose fingerprint is 036F EA79 9D1E 1D11 2217 E187 2B56 FF7C E3C4 6D22
To claim this, I am signing this object:
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Predawn/predawn.tmTheme", | |
"font_face": "Inconsolata", | |
"font_options": | |
[ | |
"gray_antialias" | |
], | |
"font_size": 9, |
import re | |
from os.path import join | |
from os import walk, rename | |
FOLDER_PATH = join('PATH_TO', 'DIR_NAME') | |
for path, subdirs, files in walk(FOLDER_PATH): | |
for i, name in enumerate(files): | |
fixed = re.sub(r' \(.+\)', '', name) | |
print('{} / {}'.format(i + 1, len(files))) |
import re | |
from os.path import join | |
from os import walk, rename | |
FOLDER_PATH = join('shivr-hdd') | |
for path, subdirs, files in walk(FOLDER_PATH): | |
for i, name in enumerate(files): | |
fixed = re.sub(r' \(.+\)\.', '.', name) | |
print('{} / {}'.format(i + 1, len(files))) |
I hereby claim:
To claim this, I am signing this object: