mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-31 03:01:55 +08:00
pages/*: use simulate instead of dry run (#24262)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
`puppet agent --test`
|
||||
|
||||
- Run the agent in dry-mode:
|
||||
- Simulate running the agent without applying any changes:
|
||||
|
||||
`puppet agent --test --noop`
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
`rclone sync {{path/to/file_or_directory}} {{remote_name}}:{{path/to/directory}}`
|
||||
|
||||
- Delete a remote file or directory (Note: `--dry-run` means test, remove it from the command to actually delete):
|
||||
- Simulate deleting a remote file or directory (remove `--dry-run` from the command to actually delete):
|
||||
|
||||
`rclone {{[-n|--dry-run]}} delete {{remote_name}}:{{path/to/file_or_directory}}`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# rename
|
||||
|
||||
> Rename a file or group of files with a `regex`.
|
||||
> WARNING: This command will overwrite files without prompting unless the dry-run option is used.
|
||||
> WARNING: This command will overwrite files without prompting unless the `-n` option is used.
|
||||
> Note: This page refers to the Perl version, also known as `file-rename`.
|
||||
> More information: <https://manned.org/prename>.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# rename
|
||||
|
||||
> Rename multiple files.
|
||||
> WARNING: This command will overwrite files without prompting unless the dry-run option is used.
|
||||
> WARNING: This command will overwrite files without prompting unless the `--no-act` option is used.
|
||||
> Note: This page refers to the command from the `util-linux` package.
|
||||
> More information: <https://manned.org/rename>.
|
||||
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
|
||||
`tmt run {{[-a|--all]}} execute {{[-h|--how]}} {{tmt}} --interactive`
|
||||
|
||||
- Use dry mode to see what actions would happen and use the highest verbosity:
|
||||
- Simulate a run to see what actions would happen with the highest verbosity:
|
||||
|
||||
`tmt run {{[-n|--dry]}} {{[-vvv|--verbose --verbose --verbose]}}`
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
|
||||
`xdg-user-dirs-update --force`
|
||||
|
||||
- Write the result to the specified dry-run-file instead of the `user-dirs.dirs` file:
|
||||
- Write the result to the specified file instead of the `user-dirs.dirs` file:
|
||||
|
||||
`xdg-user-dirs-update --dummy-output "{{path/to/dry_run_file}}" --set {{xdg_user_directory}} "/{{path/to/directory}}"`
|
||||
`xdg-user-dirs-update --dummy-output "{{path/to/output_file}}" --set {{xdg_user_directory}} "/{{path/to/directory}}"`
|
||||
|
||||
Reference in New Issue
Block a user