Merge tags on import if --tacit is used to prevent info loss
This commit is contained in:
parent
421a4e993f
commit
5142f46870
1
buku.1
1
buku.1
@ -79,6 +79,7 @@ Bookmarks with immutable titles are listed with '(L)' after the title.
|
|||||||
- Auto-import looks in the default installation path and default user profile.
|
- Auto-import looks in the default installation path and default user profile.
|
||||||
- URLs starting with `place:`, `file://` and `apt:` are ignored during import.
|
- URLs starting with `place:`, `file://` and `apt:` are ignored during import.
|
||||||
- Parent folder (and subfolder) names are automatically imported as tags if --tacit is used.
|
- Parent folder (and subfolder) names are automatically imported as tags if --tacit is used.
|
||||||
|
- Tags are merged even if bookmark URL exists when --tacit is used.
|
||||||
- An auto-generated tag in the format 'YYYYMonDD' is added if --tacit is not used in html, markdown or orgfile import.
|
- An auto-generated tag in the format 'YYYYMonDD' is added if --tacit is not used in html, markdown or orgfile import.
|
||||||
.PP
|
.PP
|
||||||
.IP 10. 4
|
.IP 10. 4
|
||||||
|
2
buku.py
2
buku.py
@ -2275,7 +2275,7 @@ class BukuDb:
|
|||||||
if not tacit:
|
if not tacit:
|
||||||
append_tags_resp = input('Append tags when bookmark exist? (n/y): ')
|
append_tags_resp = input('Append tags when bookmark exist? (n/y): ')
|
||||||
else:
|
else:
|
||||||
append_tags_resp = 'n'
|
append_tags_resp = 'y'
|
||||||
|
|
||||||
items = []
|
items = []
|
||||||
if filepath.endswith('.md'):
|
if filepath.endswith('.md'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user