Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Wu authored Apr 27, 2017
1 parent 4449657 commit 177c4e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ For example, contents in my file_list.txt are :
```
**Make sure one line one file in its absolute path.**

###Test
### Test
Run file_sync.py in submodule file_sync

```
Expand All @@ -91,7 +91,7 @@ And when I check the remote git repository, all worked ok:
* make a file named `com.wuzhiwei.filesync.plist` in `~/Library/LaunchAgents/`
* fill the plist with content below

```xml
```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd >
<plist version="1.0">
Expand All @@ -116,7 +116,7 @@ And when I check the remote git repository, all worked ok:
<string>/Users/Tim/Documents/configs/file_sync/file_sync_output.log</string>
</dict>
</plist>
```
```
* replace to your real path or username in lines below `REPLACE BELOW TO ...`
* load the plist to system service: `launchctl load ~/Library/LaunchAgents/com.wuzhiwei.filesync.plist`
* *if you want to unload the autorun service:* `launchctl unload ~/Library/LaunchAgents/com.wuzhiwei.filesync.plist`
Expand Down

0 comments on commit 177c4e1

Please sign in to comment.