Created
November 6, 2022 04:10
-
-
Save zbyna/ad8f3a00cc17ff4a65cfba6c1ea9d88a to your computer and use it in GitHub Desktop.
Autohotkey scripts for Linkding backup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
RunWait, %ComSpec% /C dockerdefault.bat && docker cp "E:/linkding_database/db.sqlite3" linkding:/etc/linkding/data/ && docker container restart linkding |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; tzn. když to spouštíš z Plochy tak Plocha zbyňo :-) a tedy c:\ | |
RunWait, %ComSpec% /C dockerdefault.bat && docker cp linkding:/etc/linkding/data/db.sqlite3 "E:/linkding_database/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment