Updated: 2023-07-15 00:00:02 + 5
parent
3f7cea00a8
commit
df6018332d
|
@ -13,7 +13,7 @@
|
|||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "Coding Tips (Classical)/Terminal Tips/Shells/Bash.md",
|
||||
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
|
@ -117,7 +117,7 @@
|
|||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "Coding Tips (Classical)/Terminal Tips/Shells/Bash.md",
|
||||
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
|
@ -134,7 +134,7 @@
|
|||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "Coding Tips (Classical)/Terminal Tips/Shells/Bash.md",
|
||||
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
|
@ -157,7 +157,7 @@
|
|||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Coding Tips (Classical)/Terminal Tips/Shells/Bash.md"
|
||||
"file": "Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -183,9 +183,9 @@
|
|||
"active": "74d85386e2039ea7",
|
||||
"lastOpenFiles": [
|
||||
"Coding Tips (Classical)/Terminal Tips/Shells/Computers (operating system)/Apple Macbook/plist.md",
|
||||
"Coding Tips (Classical)/Terminal Tips/Shells/Bash.md",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md",
|
||||
"Coding Tips (Classical)/Terminal Tips/Shells/Computers (operating system)/Apple Macbook/Launchd.md",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/Obsidian-git process.md",
|
||||
"Coding Tips (Classical)/Terminal Tips/Shells/Bash.md",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230714193655.png",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/Tips on Obsidian itself.md",
|
||||
"Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230714171308.png",
|
||||
|
|
|
@ -312,9 +312,17 @@ Run the script in the `/.local/bin` directory:
|
|||
```
|
||||
bash zk_sync
|
||||
```
|
||||
and your git should be updated with that one c
|
||||
4. Now it is time to submit this to the `launchd` scheduler. Navigate to
|
||||
|
||||
and your git should be updated with that one command with the updated time and the number of lines that were changed in the git commit.
|
||||
|
||||
|
||||
Now that we have ensured that the script itself the hard part is over. The next step is to make sure that you are syncing at a consistent time!
|
||||
|
||||
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
|
||||
5.
|
||||
6.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -75,3 +75,5 @@
|
|||
</plist>
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue