doc: add document about move index folder (#1719)

* doc: add document about move index folder

* doc: add document about move index folder
This commit is contained in:
xiaoyifang 2024-08-09 14:33:00 +08:00 committed by GitHub
parent 3279fe8b07
commit 388924033a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
How to move the default index folder to other places?
## Windows
!!! note
the [`mklink`](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mklink#related-links) is built-in tool in Windows.
1. Open `cmd` as administrator
2. copy the index folder to another place,take `D:\gd-ng\index_new` for example.
3. Run `mklink /D "C:\Users\USERNAME\Application Data\GoldenDict\index" "D:\gd-ng\index_new"`
4. Run GoldenDict
## Linux
use `ln` to create a link.

View file

@ -46,6 +46,7 @@ nav:
- Wayland: topic_wayland.md - Wayland: topic_wayland.md
- Debug dictionary JS: howto/how to debug dictionary js.md - Debug dictionary JS: howto/how to debug dictionary js.md
- Flatpak/FlatHub: topic_flatpak.md - Flatpak/FlatHub: topic_flatpak.md
- Move index folder: topic_move_index_folder.md
- Related tools: - Related tools:
- Anki Integration: topic_anki.md - Anki Integration: topic_anki.md
- OCR Integration: howto/ocr.md - OCR Integration: howto/ocr.md