sftp-push-sync 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,10 @@ Implements a push syncronisation with Dry-Run. Performs the following tasks:
|
|
|
6
6
|
2. Delete remote files that no longer exist locally
|
|
7
7
|
3. Identify changes based on size or altered content and upload them
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Why?
|
|
10
|
+
|
|
11
|
+
- I use the script to transfer [Hugo websites](https://gohugo.io) to the server.
|
|
12
|
+
- This is part of the [Hugo-Toolbox](https://www.npmjs.com/package/hugo-toolbox).
|
|
10
13
|
|
|
11
14
|
Features:
|
|
12
15
|
|
|
@@ -16,7 +19,7 @@ Features:
|
|
|
16
19
|
- adds, updates, deletes files
|
|
17
20
|
- text diff detection
|
|
18
21
|
- Binary files (images, video, audio, PDF, etc.): SHA-256 hash comparison
|
|
19
|
-
- Hashes are cached in .sync-cache
|
|
22
|
+
- Hashes are cached in .sync-cache.*.json
|
|
20
23
|
- Parallel uploads/deletions via worker pool
|
|
21
24
|
- include/exclude patterns
|
|
22
25
|
- Sidecar uploads / downloads - Bypassing the sync process
|
|
@@ -250,3 +253,5 @@ Note: The first run always takes a while, especially with lots of media – so b
|
|
|
250
253
|
|
|
251
254
|
- <https://www.npmjs.com/package/sftp-push-sync>
|
|
252
255
|
- <https://github.com/cnichte/sftp-push-sync>
|
|
256
|
+
- <https://www.npmjs.com/package/hugo-toolbox>
|
|
257
|
+
- <https://carsten-nichte.de>
|