- commit
- d517bbd
- parent
- b6ddfe5
- author
- Eric Bower
- date
- 2024-01-02 02:51:39 +0000 UTC
docs(prose): prefer rsync
2 files changed,
+5,
-10
+5,
-5
1@@ -131,7 +131,7 @@ date: 2022-06-28
2 How do I update a post?
3 </h2>
4 <p>
5- Updating a post requires that you update the source document and then run the <code>scp</code>
6+ Updating a post requires that you update the source document and then run the <code>rsync</code>
7 command again. If the filename remains the same, then the post will be updated.
8 </p>
9 </section>
10@@ -190,10 +190,10 @@ scp ./delete.md {{.Site.Domain}}:/</pre>
11 When I want to publish a new post, do I have to upload all posts everytime?
12 </h2>
13 <p>
14- Nope! Just <code>scp</code> the file you want to publish. For example, if you created
15+ Nope! Just <code>rsync</code> the file you want to publish. For example, if you created
16 a new post called <code>taco-tuesday.md</code> then you would publish it like this:
17 </p>
18- <pre>scp ./taco-tuesday.md {{.Site.Domain}}:</pre>
19+ <pre>rsync ./taco-tuesday.md {{.Site.Domain}}:</pre>
20 </section>
21
22 <section id="blog-readme">
23@@ -251,7 +251,7 @@ This will show up on the blog landing page.
24 color: tomato;
25 }</pre>
26 <p>Then just upload the file:</p>
27- <pre>scp _styles.css <username>@prose.sh:/</pre>
28+ <pre>sync _styles.css <username>@prose.sh:/</pre>
29 </section>
30
31 <section id="blog-layout">
32@@ -280,7 +280,7 @@ This will show up on the blog landing page.
33 For example, if you want to upload images for prose.sh all you have to do is include
34 your images in the <code>rsync</code> or <code>scp</code> command.
35 </p>
36- <pre>scp profile.jpg user@prose.sh:/</pre>
37+ <pre>rsync profile.jpg user@prose.sh:/</pre>
38 <p>Then when you want to reference the file, you can reference it like so:</p>
39 <pre>![profile pic](/profile.jpg)</pre>
40 </section>
+0,
-5
1@@ -105,12 +105,7 @@ title: hello world!
2 </p>
3 <p>
4 This provides the convenience of a web app, but from inside your terminal!
5- Furthermore, you can manage your blog posts via <code>sftp</code>.
6 </p>
7- <pre>sftp {{.Site.Domain}}
8-sftp> ls
9-hello-world.md
10-sftp> rm hello-world.md</pre>
11 </section>
12
13 <section>