sftp-push-sync 1.0.18 → 1.0.20
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 +9 -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,13 @@ 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
|
+
- The `sidecar` is always executed together with `sync` when you use the `--download-list` or `--upload-list` option.
|
|
151
|
+
- However, with `--skip-sync`, you can exclude the sync process and only process the sidecar:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
sftp-push-sync prod --download-list --skip-sync
|
|
155
|
+
```
|
|
156
|
+
|
|
150
157
|
### Logging Progress
|
|
151
158
|
|
|
152
159
|
Logging can also be configured.
|