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
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,7 @@ Exported note titles use Keep titles in conversion as best it can. In many cases
89
89
```bash
90
90
> python kim.py -c
91
91
```
92
+
if the note has no title or text in the body then the date will be used as default.
92
93
93
94
#### Overwriting or Skipping
94
95
KIM by default does not overwrite markdown files when exporting, principally because Keep notes can have the same titles. KIM will try to rename duplicate notes. However, notes can be overwritten with
@@ -138,13 +139,13 @@ KIM now supports importing markdown note files back into Keep using
138
139
```bash
139
140
> python kim.py -i
140
141
```
141
-
There are a number of restrictions for importing. First, KIM will only import files within a single directory (no subdirectories) and they must have an .md extension. KIM does not support importing any media (images/audio) at this point. Additionally, KIM will not scan files for tags/labels or create new ones. Only existing labels can be used and those must be setup in the **settings.cfg** file.
142
+
There are a number of restrictions for importing. First, KIM will only import files within a single directory (no subdirectories) and they must have an .md extension. KIM does not support importing any media (images/audio) at this point. Additionally, KIM will not scan files for tags/labels or create new ones. The file create date and update date will be appended to the note (**Windows users note** - if you copy markdown files to a new directory, the create date will reflect the current date rather than the file's original create date - unless you use Robocopy). Only existing labels can be used and those must be setup in the **settings.cfg** file.
142
143
143
144
To add the path and desired labels for import in **settings.cfg**, add or update these two additional settings:
144
145
**input_path** = path to where the input md files are located. Windows users use forward slashes, e.g. -> c:/md-files/import
145
146
**input_labels** = a list of one or more comma delimited labels without the # leading character - e.g. -> computers, programming (this will tag all of the imported notes with both labels 'computers' and 'programming' within that import directory as long as you have those labels predefined within Keep already)
146
147
147
-
NOTE: the import switch -i is incompatible with all other switches for export. Be sure to test simple import examples before using this feature!!!
148
+
NOTE: the import switch -i is incompatible with all other switches for export. Be sure to test simple import examples before using this feature!!!
148
149
149
150
#### Combinations
150
151
Example: to export all achived notes, using content for blank note titles, with overwriting, preserving Keep label format and logseq style paragraphs in batch:
@@ -203,4 +204,10 @@ Refactored code to be more extensible for different import and export options
203
204
Added LogSeq switch to add bullets in exports to be more compatible
204
205
Added simple note import to Keep option
205
206
Removed microseconds from note create and update dates
206
-
Fixed null image crashing
207
+
Fixed null image crashing
208
+
209
+
## 0.5.1 Recent Changes
210
+
Fixed image overwrite if note has no title or text and using -c switch
211
+
Fixed error of markdown note imports if there are special characters within
212
+
Added create and update dates of markdown files to imported notes
213
+
Added option to update Keep notes to archive after conversion
Copy file name to clipboardExpand all lines: keep-test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ def main(argv):
63
63
64
64
exceptExceptionase:
65
65
print (e)
66
-
print ("Please start your browswer and copy-paste this URL in the address bar: https://accounts.google.com/DisplayUnlockCaptcha - then, try logging in again.")
66
+
print ("Please start your browser and copy-paste this URL in the address bar: https://accounts.google.com/DisplayUnlockCaptcha - then, try logging in again.")
0 commit comments