Skip to content

Instantly share code, notes, and snippets.

Pawel Kowalski paweloque

Block or report user

Report or block paweloque

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Traverse Files and Rename
from os import listdir, rename
from os.path import isfile, join
#path = '/Volumes/HD-PATU3/Pawel/Pictures'
path = './'
for f in listdir(path):
if not isfile(join(path, f)):
spl = f.split('_')
#print 'File: %s' % f
You can’t perform that action at this time.