From 18a3338dbdbebdf3f9f93ebdc021a0647eb7563b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 7 Apr 2026 14:14:57 -0700 Subject: [PATCH] docs: rename -force to -apply in s3.iam.import example --- weed-shell.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weed-shell.md b/weed-shell.md index 4228bf5..9580ddf 100644 --- a/weed-shell.md +++ b/weed-shell.md @@ -155,7 +155,7 @@ I0212 22:22:56.666094 filechunk_manifest.go:197 read http://fast-volume-1:8080/2 ``` 1. `volume.check.disk` ``` -> lock; volume.check.disk -v -force -slow -volumeId 2480 -nonRepairThreshold 1 -syncDeleted +> lock; volume.check.disk -v -apply -slow -volumeId 2480 -nonRepairThreshold 1 -syncDeleted load collection logs-data volume 2480 index size 2621232 from fast-volume-3:8080 ... load collection logs-data volume 2480 index size 2621232 from fast-volume-1:8080 ... volume 2480 fast-volume-1:8080 has 163827 entries, fast-volume-3:8080 missed 0 and partially deleted 0 entries @@ -306,12 +306,12 @@ Use `-expiry` for time-limited credentials (must be positive; 0 = no expiration) ### Backup and restore IAM state ``` > s3.iam.export -file iam-backup.json -> s3.iam.import -file iam-backup.json -force +> s3.iam.import -file iam-backup.json -apply > s3.config.show ``` `s3.iam.export -file` writes with mode 0600 to protect credentials. -`s3.iam.import` requires `-force` since it overwrites the entire IAM configuration. +`s3.iam.import` requires `-apply` since it overwrites the entire IAM configuration. # One more trick You can skip the "fs." prefix, for all "fs.*" commands: