We need need to update our student Google Profile Photos like we do in Blackbaud, but Google does not have a bulk option. I found an App to connect, but first I need to change the name of the photo files to the student's email address. I found a script to run on my MAC in Terminal to bulk change the name of my files from a CSV, but when I run it I get an error this error:
zsh: parse error near `)'
I changed "George" to my username. What am I missing? I do not know how to write programming. THANK YOU IN ADVANCE!!!!
os.chdir('/Users/George/Desktop/untitled folder')
# Rename from name in col 1 to name in col 2 in CSV File)
with open('/Users/George/Desktop/Book1.csv') as f:
lines = csv.reader(f)
for line in lines:
try:
os.rename(line[0], line[1])
except:
print(line[0] + ': File not found')