1
1
# gdrive-rename-files
2
2
3
+ $Date$ UTC
4
+
3
5
This Google Apps Script application will list and rename folders and
4
6
files in your Google Drive.
5
7
@@ -19,23 +21,27 @@ options. The files are listed in another sheet-tab.
19
21
20
22
For more details see the
21
23
[ User Guide] ( https://docs.google.com/document/d/e/2PACX-1vRQ8aH-xnfdVKmRKU7wLl2wmV87fvQSy_o1907iPiTUN56cKKcQrfjxAakGhLyYcHqCQ04dIhodkt6B/pub ) .
24
+ (This link is also in the Spreadsheet. And the source doc is versioned in:
25
+ Rename_Files_User_Guide.docx)
22
26
23
27
## Quick Start
24
28
25
- You can get the latest stable version of the SpreadSheet , with the
26
- scripts attached, in my Google Drive at: [ Released -> Software ]
27
- (https://drive.google.com/drive/u/0/folders/1fvYI6-K9wnxigz4XJovfEhzoY0m1_liI )
29
+ You can get the latest stable version of the Spreadsheet , with the
30
+ scripts attached, in my Google Drive at:
31
+ [ Released -> Software ] ( https://drive.google.com/drive/u/0/folders/1fvYI6-K9wnxigz4XJovfEhzoY0m1_liI )
28
32
29
33
Copy the spreadsheet to your Google Drive.
30
34
35
+ (gdrive-util-scripts.xlsx is the base spreadsheet file, with no scripts.)
36
+
31
37
## Implementation Notes
32
38
33
39
This is my first "complete" Google Apps Script application. I used a
34
- Test Driven Development process for creating this app. See my blog
35
- [ Clean Code]
36
- ( https://slowengineering.wordpress.com/2021/02/25/clean-code/ ) for why
37
- I used TDD. I stated with another person's GSUnit test library, but it
38
- disappeared , so I created my own test library and test driver. See
40
+ Test Driven Development process for creating this app. See my
41
+ [ Clean Code] ( https://slowengineering.wordpress.com/2021/02/25/clean-code/ )
42
+ blog post for why I used TDD. I started with another person's GSUnit
43
+ test library, but it disappeared (and the source code repo was not
44
+ complete) , so I created my own test library and test driver. See
39
45
repository [ gsunit-test] ( https://github.com/TurtleEngr/gsunit-test ) .
40
46
41
47
## Update Notes
@@ -50,7 +56,7 @@ files: gsunit-test.gs, test-util-objs.gs, and
50
56
test-rename-files.gs. Put them in that order after the rename-file.gs
51
57
script.
52
58
53
- The Rename-Files menus will automattically updated when you reload the
59
+ The Rename-Files menus will automatically updated when you reload the
54
60
spreadsheet.
55
61
56
62
If didn't start with the Quick Start Google Sheet, you can upload the
@@ -59,7 +65,7 @@ gdrive-util-scripts.xlsx to your Google Drive. Then attach the scripts.
59
65
## Coding Style
60
66
61
67
Experienced JavaScript programmers will probably not like my style.
62
- JavaScipt is a new language for me. I've been a software engineer for
68
+ JavaScript is a new language for me. I've been a software engineer for
63
69
40 years. I know more than 10 computer languages, and I'm am
64
70
proficient in 5. So I have developed my own way of using a subset
65
71
of languages. I.e. I do not used ALL of the quirky features that are
@@ -93,7 +99,7 @@ the scope will be unknown unless you go looking.
93
99
the "throws" in low level functions, so that the upper level functions
94
100
are not cluttered with error handling.
95
101
96
- - I try to refactor 'if' statemts to exit early, to that will reduce
102
+ - I try to refactor 'if' statements to exit early, to that will reduce
97
103
the need for 'else' statements.
98
104
99
105
- I try to put the bulk of the application in class objects. Yes, I
0 commit comments