A script to remove the uploader names that Google Forms adds to the end of uploaded files.
You will need to replace the folderId
with the folder you'd like the script to run on. You can get the folder id in the url to your google drive folder, its the stuff after /folders/
in the url.
Return to the spreadsheet refresh the page, you will find a Rename Files Menu
tab above. Clicking on it will show the runnable functions.
Click on any of the functions to run them. You will need to authorize the script on your first run, there will be a google popup for this.
-
Preview Rename Functions
will go through the contents of the given folder and record what it would rename the files too onto the spreadsheet. -
Rename Functions
will do the same but actually rename the files.- ⚠ NOTE: Whether or not it was uploaded from Google Forms, THIS WILL RENAME ANY FILES IN THE FOLDER(S) THAT HAVE THE GOOGLE SEPARATOR PREFIX (
-
)IN IT. Keep this in mind and make sure to use thePreview Rename
functions before runnningRename
functions.
- ⚠ NOTE: Whether or not it was uploaded from Google Forms, THIS WILL RENAME ANY FILES IN THE FOLDER(S) THAT HAVE THE GOOGLE SEPARATOR PREFIX (
-
Both of these have a
Recursively
function which means it will also search through any sub folders of the given folder.