You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,12 +171,18 @@ or
171
171
```
172
172
will execute KIM without input prompts as long as you have your Google ID in the setting.cfg file and you have stored your Keep access token by running KIM once manually on your device. Be sure the -b flag is the last of all option flags when combining them.
173
173
174
-
### Silent Mode
174
+
####Silent Mode
175
175
KIM can suppress any screen prompts or status messages using the -q flag. Silent or quiet mode will pipe all output to at file called `kim.log` in the install diretory. This is useful for batch mode execution. You must have `settings.cfg` setup with your google id so the user prompt will not display. This works both for exporting and importing:
176
176
```bash
177
177
> python kim.py -q -b '#mylabel'
178
178
```
179
179
180
+
#### Remove Duplicate Labels/Hashtags
181
+
KIM by default appends labels as hashtags at the end of notes. However, Keep can create labels either from the menu or by using hashtags embedded within the note text. KIM can remove any duplicate tags at the end of exported notes using the -d flag. This will allow in-line tags in notes so that apps like Obsidian and Logseq won't have duplicates appended:
182
+
```bash
183
+
> python kim.py -d
184
+
```
185
+
180
186
#### Archive Notes
181
187
KIM has an option to export only Keep archive notes. All other note types are ignored with this option
182
188
```bash
@@ -213,9 +219,9 @@ NOTE: the import switches -i and -lb are incompatible with all other switches fo
213
219
214
220
215
221
#### Combinations
216
-
Example: to export all non-archived notes, using content for blank note titles, with overwriting, preserving Keep label format, Logseq style paragraphs, with create dates > Oct 3, 2023 in batch:
222
+
Example: to export all non-archived notes, using content for blank note titles, with overwriting, preserving Keep label format, Logseq style paragraphs, removing trailing hashtags if embedded in note, with create dates > Oct 3, 2023 in batch:
0 commit comments