Skip to content

Commit

Permalink
doc: add document about move index folder (#1719)
Browse files Browse the repository at this point in the history
* doc: add document about move index folder

* doc: add document about move index folder
  • Loading branch information
xiaoyifang authored Aug 9, 2024
1 parent 3279fe8 commit 3889240
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions website/docs/topic_move_index_folder.md
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions website/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ nav:
- Wayland: topic_wayland.md
- Debug dictionary JS: howto/how to debug dictionary js.md
- Flatpak/FlatHub: topic_flatpak.md
- Move index folder: topic_move_index_folder.md
- Related tools:
- Anki Integration: topic_anki.md
- OCR Integration: howto/ocr.md
Expand Down

0 comments on commit 3889240

Please sign in to comment.