xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.43k stars 181 forks source link

Hello, nb how to change the ID number #251

Closed shuen2023 closed 1 year ago

shuen2023 commented 1 year ago

NB is a great project. Thanks 😊. But I was confused that when I deleted a record, the ID number of that record was gone. I want to know how to change the ID number? I want that ID number.

elementum74 commented 1 year ago

Index is handled via .index file in the nb directory e.g. ~/.nb/home. Change the sequential order to change the id.

shuen2023 commented 1 year ago

thank you!

shuen2023 commented 1 year ago

索引是通过.indexnb 目录中的文件处理的,例如~/.nb/home. 更改顺序以更改 id。

i like you😇