sftp-push-sync 1.0.18 → 1.0.19
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 +8 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Features:
|
|
|
19
19
|
- Hashes are cached in .sync-cache.json to save space.
|
|
20
20
|
- Parallel uploads/deletions via worker pool
|
|
21
21
|
- include/exclude patterns
|
|
22
|
-
-
|
|
22
|
+
- Sidecar uploads / downloads - Bypassing the sync process
|
|
23
23
|
|
|
24
24
|
The file `sftp-push-sync.mjs` is pure JavaScript (ESM), not TypeScript. Node.js can execute it directly as long as "type": "module" is specified in package.json or the file has the extension .mjs.
|
|
25
25
|
|
|
@@ -124,7 +124,7 @@ If you have stored the scripts in `package.json` as follows:
|
|
|
124
124
|
|
|
125
125
|
The dry run is a great way to compare files and fill the cache.
|
|
126
126
|
|
|
127
|
-
###
|
|
127
|
+
### Sidecar uploads / downloads
|
|
128
128
|
|
|
129
129
|
A list of files that are excluded from the sync comparison and can be downloaded or uploaded separately.
|
|
130
130
|
|
|
@@ -147,6 +147,12 @@ sftp-push-sync prod --download-list --dry-run # view first
|
|
|
147
147
|
sftp-push-sync prod --download-list # then do
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
+
Das `sidecar ` wird immer zusammen mit `sync` ausgeführt. Mit `--skip-sync` kann man den sync prozess aber aus ausklammern und nur das sidecar verarbeiten:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
sftp-push-sync prod --download-list --skip-sync
|
|
154
|
+
```
|
|
155
|
+
|
|
150
156
|
### Logging Progress
|
|
151
157
|
|
|
152
158
|
Logging can also be configured.
|