sftp-push-sync 1.0.17 → 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 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
- - special uploads / downloads
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,8 +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
-
128
- ### special uploads / downloads
127
+ ### Sidecar uploads / downloads
129
128
 
130
129
  A list of files that are excluded from the sync comparison and can be downloaded or uploaded separately.
131
130
 
@@ -148,6 +147,12 @@ sftp-push-sync prod --download-list --dry-run # view first
148
147
  sftp-push-sync prod --download-list # then do
149
148
  ```
150
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
+
151
156
  ### Logging Progress
152
157
 
153
158
  Logging can also be configured.
@@ -163,18 +168,18 @@ For >100k files, use analyzeChunk = 10 or 50, otherwise the TTY output itself is
163
168
 
164
169
  Examples for Wirdcards for `include`, `exclude`, `uploadList` and `downloadList`:
165
170
 
166
- - `"content/**"` - ALLES unterhalb von `content/`
167
- - `".html", ".htm", ".md", ".txt", ".json"`- Nur bestimmte Dateiendungen
168
- - `"**/*.html"` - alle HTML-Dateien
169
- - `"**/*.md"`- alle Markdown-Dateien
170
- - `"content/**/*.md"` - nur Markdown in `content/`
171
+ - `"content/**"` -EVERYTHING below `content/`
172
+ - `".html", ".htm", ".md", ".txt", ".json"`- Only certain file extensions
173
+ - `"**/*.html"` - all HTML files
174
+ - `"**/*.md"`- all Markdown files
175
+ - `"content/**/*.md"` - only Markdown in `content/`
171
176
  - `"static/images/**/*.jpg"`
172
- - `"**/thumb-*.*"` - thumb-Bilder überall
173
- - `"**/*-draft.*"` - Dateien mit -draft vor der Extension
174
- - `"content/**/*.md"` - alle Markdown-Dateien
175
- - `"config/**"` - komplette Konfiguration
176
- - `"static/images/covers/**"`- nur Cover-Bilder
177
- - `"logs/**/*.log"` - alle Logs aus logs/
177
+ - `"**/thumb-*.*"` - thumb images everywhere
178
+ - `"**/*-draft.*"` -Files with -draft before the extension
179
+ - `"content/**/*.md"` - all Markdown files
180
+ - `"config/**"` - complete configuration
181
+ - `"static/images/covers/**"`- cover images only
182
+ - `"logs/**/*.log"` - all logs from logs/
178
183
  - `"reports/**/*.xlsx"`
179
184
 
180
185
  practical excludes:
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sftp-push-sync",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "SFTP sync tool for Hugo projects (local to remote, with hash cache)",
5
5
  "type": "module",
6
6
  "bin": {