Move files automatically from one folder to another in Google Drive -


problem:

files pulled automatically emails folder on google drive. files automatically given name, subject of email, e.g. "beach". multiple files can have same name if emails have same subject name.

once files have landed in google drive, want move files, ones called "beach", folder called "beach".

what best way this? have tried using scripts, lists of folders/id/file names etc in spreadsheets, yet can't quite it.

according article, can use google apps scripts move files across folders.

function movefiles(source_folder, dest_folder) {    var files = source_folder.getfiles();    while (files.hasnext()) {      var file = files.next();     dest_folder.addfile(file);     source_folder.removefile(file);    } } 

here related threads might help:


Comments

Popular posts from this blog

c - zlib and gdi32 with OpenSSL? -

java - inputmismatch exception -

ios - Align baselines with characters in large line heights with Text Kit -