Skip to content

Commit 797cfa3

Browse files
committed
docs(readme): Enable scp -C compression mode for ~10X quicker copy
These files compress very well. Allow scp to use gzip during the transfer to speed it up. Doesn't affect the file on disk on either side.
1 parent 90bb8c1 commit 797cfa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ cp .env.example .env
7878
```sh
7979
# Copy the SQL dump from your home directory on the server (as created by the previous command)
8080
# NOTE: There must be no space between -p and the password!
81-
scp wp-05.ops.jquery.net:~/wordpress.sql .
81+
scp -C wp-05.ops.jquery.net:~/wordpress.sql .
8282
docker exec -i jquerydb mysql -u root -proot < wordpress.sql
8383
```
8484
@@ -97,7 +97,7 @@ cp .env.example .env
9797
And then locally:
9898
9999
```sh
100-
scp wpblogs-01.ops.jquery.net:wordpress_blog_{jquery_com,jqueryui_com,jquerymobile_com}.sql .
100+
scp -C wpblogs-01.ops.jquery.net:wordpress_blog_{jquery_com,jqueryui_com,jquerymobile_com}.sql .
101101
102102
echo 'CREATE DATABASE IF NOT EXISTS wordpress_blog_jquery_com; CREATE DATABASE IF NOT EXISTS wordpress_blog_jqueryui_com; CREATE DATABASE IF NOT EXISTS wordpress_blog_jquerymobile_com;' | docker exec -i jquerydb mysql -u root -proot
103103

0 commit comments

Comments
 (0)