Updated: 2023-07-15 02:15:30 + 4
parent
7bf59a3def
commit
660a5aa0de
|
@ -180,9 +180,9 @@
|
|||
"omnisearch:Omnisearch": false
|
||||
}
|
||||
},
|
||||
"active": "74d85386e2039ea7",
|
||||
"active": "630c2dee08cf5f73",
|
||||
"lastOpenFiles": [
|
||||
"Pasted image 20230715021300.png",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230715021300.png",
|
||||
"Coding Tips (Classical)/Terminal Tips/Commands + Settings/Aliases.md",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md",
|
||||
"Coding Tips (Classical)/Terminal Tips/Shells/Computers (operating system)/Apple Macbook/plist.md",
|
||||
|
|
|
@ -320,8 +320,7 @@ Now that we have ensured that the script itself the hard part is over. The next
|
|||
|
||||
4. Now it is time to submit this to the `launchd` scheduler. Navigate to `~/Library/LaunchAgents` as this is where you will be dropping your .plist file.
|
||||
|
||||
Then create the .plist which calls the previous `zk_sync` script that we made before. Make sure that you test it that you
|
||||
|
||||
Then create the .plist which calls the previous `zk_sync` script that we made before by pasting the following:
|
||||
```shell
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
|
||||
|
@ -341,7 +340,7 @@ Then create the .plist which calls the previous `zk_sync` script that we made be
|
|||
|
||||
```
|
||||
|
||||
Once you have saved it as a .plist in the right directory, run:
|
||||
Once you have saved it as a .plist in the right directory, make sure that you test that it works. run:
|
||||
```
|
||||
launchctl load -w ~/Library/LaunchAgents/us.shwetha.obsidian.plist
|
||||
|
||||
|
@ -350,11 +349,11 @@ to load this `launchd` action.
|
|||
|
||||
Now check your gitea repository.
|
||||
![[Pasted image 20230715021300.png]]
|
||||
Ta-da!! You did it!!!
|
||||
Ta-da!! You did it!!! All your work will now be synced to git every few minutes.
|
||||
|
||||
5.
|
||||
No need for pesky cloud storage or physical systems anymore. :)
|
||||
Enjoy.
|
||||
|
||||
6.
|
||||
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 308 KiB |
Loading…
Reference in New Issue