This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lisp | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; .emacs --- dot emacs file | |
;; This file is NOT part of GNU Emacs. | |
;; This file is free software; you can redistribute it and/or | |
;; modify it under the terms of the GNU General Public License as | |
;; published by the Free Software Foundation; either version 2 of | |
;; the License, or (at your option) any later version. | |
;; This file is distributed in the hope that it will be |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sakugaBuckUp() { | |
var targetfolders = DriveApp.getFoldersByName("DEENデジタル作画");//バックアップ対象のルートフォルダー | |
var backupRootFolder = DriveApp.getFolderById("0B5AzqqTAWtrCSzZ5dFRzMC1YZFU");//バックアップ先のルートフォルダー | |
var dest = backupRootFolder.createFolder(Utilities.formatDate(new Date(),'JST', 'yyyy-MM-dd-HH-mm')) | |
//var dest = backupRootFolder.createFolder(new Date()) | |
while(targetfolders.hasNext()) { | |
var folder = targetfolders.next(); | |
folderCopy(folder, dest); | |
} | |
} |