From 03eaa4c365cf9b802347bba026dfc1f1da1c248e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 12 Sep 2025 21:34:33 +0300 Subject: [PATCH] *: use "directory" instead of "dir" (#18082) * batch * Update pages/osx/sips.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> * Update pages/osx/sips.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --------- Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/crane-mutate.md | 2 +- pages/common/crane-registry.md | 2 +- pages/common/cryfs.md | 4 ++-- pages/common/duplicity.md | 4 ++-- pages/common/dvc-init.md | 2 +- pages/common/encfs.md | 8 ++++---- pages/common/git-svn.md | 4 ++-- pages/common/gocryptfs.md | 10 +++++----- pages/common/gprbuild.md | 2 +- pages/common/meson.md | 4 ++-- pages/common/mktemp.md | 2 +- pages/common/modutil.md | 4 ++-- pages/common/nasm.md | 2 +- pages/common/nextclade.md | 2 +- pages/common/pio-check.md | 2 +- pages/common/pssh.md | 2 +- pages/common/soupault.md | 2 +- pages/common/sphinx-build.md | 4 ++-- pages/common/trunk.md | 2 +- pages/common/x8.md | 2 +- pages/linux/gdebi.md | 2 +- pages/linux/lftp.md | 4 ++-- pages/linux/libtool.md | 2 +- pages/linux/mktemp.md | 2 +- pages/linux/mount.md | 2 +- pages/osx/mktemp.md | 2 +- pages/osx/sips.md | 4 ++-- 27 files changed, 42 insertions(+), 42 deletions(-) diff --git a/pages/common/crane-mutate.md b/pages/common/crane-mutate.md index 90a02195ed..3f89b4d76f 100644 --- a/pages/common/crane-mutate.md +++ b/pages/common/crane-mutate.md @@ -30,7 +30,7 @@ - New working dir to set: -`crane mutate {{[-w|--workdir]}} {{path/to/workdir}}` +`crane mutate {{[-w|--workdir]}} {{path/to/work_directory}}` - Display help: diff --git a/pages/common/crane-registry.md b/pages/common/crane-registry.md index 5ea64aedfd..571453fa0e 100644 --- a/pages/common/crane-registry.md +++ b/pages/common/crane-registry.md @@ -14,7 +14,7 @@ - Path to a directory where blobs will be stored: -`crane registry serve --disk {{path/to/store_dir}}` +`crane registry serve --disk {{path/to/store_directory}}` - Display help for `crane registry`: diff --git a/pages/common/cryfs.md b/pages/common/cryfs.md index 7c49cb8f18..46e892ffe8 100644 --- a/pages/common/cryfs.md +++ b/pages/common/cryfs.md @@ -5,7 +5,7 @@ - Mount an encrypted filesystem. The initialization wizard will be started on the first execution: -`cryfs {{path/to/cipher_dir}} {{path/to/mount_point}}` +`cryfs {{path/to/cipher_directory}} {{path/to/mount_point}}` - Unmount an encrypted filesystem: @@ -13,7 +13,7 @@ - Automatically unmount after ten minutes of inactivity: -`cryfs --unmount-idle {{10}} {{path/to/cipher_dir}} {{path/to/mount_point}}` +`cryfs --unmount-idle {{10}} {{path/to/cipher_directory}} {{path/to/mount_point}}` - List supported ciphers: diff --git a/pages/common/duplicity.md b/pages/common/duplicity.md index 6667bda65c..84e2508d7d 100644 --- a/pages/common/duplicity.md +++ b/pages/common/duplicity.md @@ -15,7 +15,7 @@ - Delete versions older than 1 year from a backup stored on a WebDAV share: -`FTP_PASSWORD={{webdav_login_password}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://user@hostname[:port]/some_dir}}` +`FTP_PASSWORD={{webdav_login_password}} duplicity remove-older-than {{1Y}} --force {{webdav[s]://user@hostname[:port]/some_directory}}` - List the available backups: @@ -23,7 +23,7 @@ - List the files in a backup stored on a remote machine, via SSH: -`duplicity list-current-files {{[-t|--time]}} {{YYYY-MM-DD}} scp://{{user@hostname}}/{{path/to/backup/dir}}` +`duplicity list-current-files {{[-t|--time]}} {{YYYY-MM-DD}} scp://{{user@hostname}}/{{path/to/backup_directory}}` - Restore a subdirectory from a GnuPG-encrypted local backup to a given location: diff --git a/pages/common/dvc-init.md b/pages/common/dvc-init.md index daef964117..22f064df2e 100644 --- a/pages/common/dvc-init.md +++ b/pages/common/dvc-init.md @@ -13,4 +13,4 @@ - Initialize DVC in a subdirectory: -`cd {{path/to/subdir}} && dvc init --sudir` +`cd {{path/to/subdirectory}} && dvc init --sudir` diff --git a/pages/common/encfs.md b/pages/common/encfs.md index f1e1890a07..94603aa90a 100644 --- a/pages/common/encfs.md +++ b/pages/common/encfs.md @@ -6,16 +6,16 @@ - Initialize or mount an encrypted filesystem: -`encfs /{{path/to/cipher_dir}} /{{path/to/mount_point}}` +`encfs /{{path/to/cipher_directory}} /{{path/to/mount_point}}` - Initialize an encrypted filesystem with standard settings: -`encfs --standard /{{path/to/cipher_dir}} /{{path/to/mount_point}}` +`encfs --standard /{{path/to/cipher_directory}} /{{path/to/mount_point}}` - Run encfs in the foreground instead of spawning a daemon: -`encfs -f /{{path/to/cipher_dir}} /{{path/to/mount_point}}` +`encfs -f /{{path/to/cipher_directory}} /{{path/to/mount_point}}` - Mount an encrypted snapshot of a plain directory: -`encfs --reverse {{path/to/plain_dir}} {{path/to/cipher_dir}}` +`encfs --reverse {{path/to/plain_directory}} {{path/to/cipher_directory}}` diff --git a/pages/common/git-svn.md b/pages/common/git-svn.md index a46e080787..9391ddb85d 100644 --- a/pages/common/git-svn.md +++ b/pages/common/git-svn.md @@ -5,11 +5,11 @@ - Clone an SVN repository: -`git svn clone {{https://example.com/subversion_repo}} {{local_dir}}` +`git svn clone {{https://example.com/subversion_repo}} {{local_directory}}` - Clone an SVN repository starting at a given revision number: -`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_dir}}` +`git svn clone {{[-r|--revision]}} {{1234}}:HEAD {{https://svn.example.net/subversion/repo}} {{local_directory}}` - Update local clone from the remote SVN repository: diff --git a/pages/common/gocryptfs.md b/pages/common/gocryptfs.md index 81c0b01f32..54bd9e0ba7 100644 --- a/pages/common/gocryptfs.md +++ b/pages/common/gocryptfs.md @@ -5,20 +5,20 @@ - Initialize an encrypted filesystem: -`gocryptfs -init {{path/to/cipher_dir}}` +`gocryptfs -init {{path/to/cipher_directory}}` - Mount an encrypted filesystem: -`gocryptfs {{path/to/cipher_dir}} {{path/to/mount_point}}` +`gocryptfs {{path/to/cipher_directory}} {{path/to/mount_point}}` - Mount with the explicit master key instead of password: -`gocryptfs --masterkey {{path/to/cipher_dir}} {{path/to/mount_point}}` +`gocryptfs --masterkey {{path/to/cipher_directory}} {{path/to/mount_point}}` - Change the password: -`gocryptfs --passwd {{path/to/cipher_dir}}` +`gocryptfs --passwd {{path/to/cipher_directory}}` - Make an encrypted snapshot of a plain directory: -`gocryptfs --reverse {{path/to/plain_dir}} {{path/to/cipher_dir}}` +`gocryptfs --reverse {{path/to/plain_directory}} {{path/to/cipher_directory}}` diff --git a/pages/common/gprbuild.md b/pages/common/gprbuild.md index 007baad518..19db321f94 100644 --- a/pages/common/gprbuild.md +++ b/pages/common/gprbuild.md @@ -17,4 +17,4 @@ - Install compiled binaries: -`gprinstall --prefix {{path/to/installation/dir}}` +`gprinstall --prefix {{path/to/installation_directory}}` diff --git a/pages/common/meson.md b/pages/common/meson.md index 34f16cb15c..99bd5cfc69 100644 --- a/pages/common/meson.md +++ b/pages/common/meson.md @@ -9,11 +9,11 @@ - Configure the `builddir` with default values: -`meson setup {{build_dir}}` +`meson setup {{build_directory}}` - Build the project: -`meson compile -C {{path/to/build_dir}}` +`meson compile -C {{path/to/build_directory}}` - Run all tests in the project: diff --git a/pages/common/mktemp.md b/pages/common/mktemp.md index 605ac56c93..46c57d90ba 100644 --- a/pages/common/mktemp.md +++ b/pages/common/mktemp.md @@ -9,7 +9,7 @@ - Use a custom directory if `$TMPDIR` is not set (the default is platform-dependent, but usually `/tmp`): -`mktemp -p /{{path/to/tempdir}}` +`mktemp -p /{{path/to/temporary_directory}}` - Use a custom path template (`X`s are replaced with random alphanumeric characters): diff --git a/pages/common/modutil.md b/pages/common/modutil.md index 31c79c02b1..0984bbdb7b 100644 --- a/pages/common/modutil.md +++ b/pages/common/modutil.md @@ -5,8 +5,8 @@ - Add a PKCS #11 module to a NSS database (e.g. a Firefox profile: `$HOME/.mozilla/firefox/default-release`): -`modutil -dbdir sql:{{path/to/nss/db/dir}} -add "{{module_label}}" -libfile {{path/to/pkcs11_mod.so}}` +`modutil -dbdir sql:{{path/to/nss_database_directory}} -add "{{module_label}}" -libfile {{path/to/pkcs11_mod.so}}` - List PKCS #11 modules in a NSS database: -`modutil -dbdir sql:{{path/to/nss/db/dir}} -list` +`modutil -dbdir sql:{{path/to/nss_database_directory}} -list` diff --git a/pages/common/nasm.md b/pages/common/nasm.md index 6c0f8f2066..50cbe87abc 100644 --- a/pages/common/nasm.md +++ b/pages/common/nasm.md @@ -21,4 +21,4 @@ - Add a directory (must be written with trailing slash) to the include file search path before assembling: -`nasm -i {{path/to/include_dir}}/ {{source.asm}}` +`nasm -i {{path/to/include_directory}}/ {{source.asm}}` diff --git a/pages/common/nextclade.md b/pages/common/nextclade.md index f9f5814c25..4c36e8f05b 100644 --- a/pages/common/nextclade.md +++ b/pages/common/nextclade.md @@ -21,7 +21,7 @@ - Use a downloaded dataset, producing all outputs: -`nextclade run {{[-D|--input-dataset]}} {{path/to/dataset_dir}} {{[-O|--output-all]}} {{path/to/output_dir}} {{path/to/sequences.fasta}}` +`nextclade run {{[-D|--input-dataset]}} {{path/to/dataset_directory}} {{[-O|--output-all]}} {{path/to/output_directory}} {{path/to/sequences.fasta}}` - Run on multiple files: diff --git a/pages/common/pio-check.md b/pages/common/pio-check.md index 4a0c9e2eb7..b5704c8267 100644 --- a/pages/common/pio-check.md +++ b/pages/common/pio-check.md @@ -9,7 +9,7 @@ - Perform a basic analysis check on a specific project: -`pio check {{[-d|--project-dir]}} {{project_dir}}` +`pio check {{[-d|--project-dir]}} {{project_directory}}` - Perform an analysis check for a specific environment: diff --git a/pages/common/pssh.md b/pages/common/pssh.md index 7cc4b0fbb8..d07588f5b3 100644 --- a/pages/common/pssh.md +++ b/pages/common/pssh.md @@ -9,7 +9,7 @@ - Run a command and save the output to separate files: -`pssh {{[-H|--host]}} {{host1}} {{[-H|--host]}} {{host2}} {{[-o|--outdir]}} {{path/to/output_dir}} {{hostname --ip-addresses}}` +`pssh {{[-H|--host]}} {{host1}} {{[-H|--host]}} {{host2}} {{[-o|--outdir]}} {{path/to/output_directory}} {{hostname --ip-addresses}}` - Run a command on multiple hosts, specified in a new-line separated file: diff --git a/pages/common/soupault.md b/pages/common/soupault.md index e0549a244c..f514edb4a7 100644 --- a/pages/common/soupault.md +++ b/pages/common/soupault.md @@ -14,7 +14,7 @@ - Override default configuration file and directory locations: -`soupault --config {{config_path}} --site-dir {{input_dir}} --build-dir {{output_dir}}` +`soupault --config {{config_path}} --site-dir {{input_directory}} --build-dir {{output_directory}}` - Extract metadata into a JSON file without generating pages: diff --git a/pages/common/sphinx-build.md b/pages/common/sphinx-build.md index 4fe8d8a124..b1077518e7 100644 --- a/pages/common/sphinx-build.md +++ b/pages/common/sphinx-build.md @@ -5,8 +5,8 @@ - Build documentation: -`sphinx-build {{[-b|--builder]}} {{html|epub|text|latex|man|...}} {{path/to/source_dir}} {{path/to/build_dir}}` +`sphinx-build {{[-b|--builder]}} {{html|epub|text|latex|man|...}} {{path/to/source_directory}} {{path/to/build_directory}}` - Build documentations intended for readthedocs.io (requires the sphinx-rtd-theme pip package): -`sphinx-build {{[-b|--builder]}} {{html}} {{path/to/docs_dir}} {{path/to/build_dir}}` +`sphinx-build {{[-b|--builder]}} {{html}} {{path/to/docs_directory}} {{path/to/build_directory}}` diff --git a/pages/common/trunk.md b/pages/common/trunk.md index 5967e21d60..535f91bc22 100644 --- a/pages/common/trunk.md +++ b/pages/common/trunk.md @@ -9,7 +9,7 @@ - Build for production at root or subdirectory: -`trunk build --release --dist {{path/to/distribution}} --public-url /{{path/to/app/subdir}}` +`trunk build --release --dist {{path/to/distribution}} --public-url /{{path/to/app/subdirectory}}` - List all available tools in the repo and if they are enabled: diff --git a/pages/common/x8.md b/pages/common/x8.md index 4c500f589a..53f04cdc81 100644 --- a/pages/common/x8.md +++ b/pages/common/x8.md @@ -33,4 +33,4 @@ - Save request and response data for found parameters to a directory: -`x8 {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} --save-responses {{path/to/output_dir}}` +`x8 {{[-u|--url]}} {{https://example.com/}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} --save-responses {{path/to/output_directory}}` diff --git a/pages/linux/gdebi.md b/pages/linux/gdebi.md index 67e746ab93..1d84503dfe 100644 --- a/pages/linux/gdebi.md +++ b/pages/linux/gdebi.md @@ -17,7 +17,7 @@ - Use alternative root dir: -`gdebi {{path/to/package.deb}} --root {{path/to/root_dir}}` +`gdebi {{path/to/package.deb}} --root {{path/to/root_directory}}` - Display version: diff --git a/pages/linux/lftp.md b/pages/linux/lftp.md index 09c1d621b5..937c0f03ed 100644 --- a/pages/linux/lftp.md +++ b/pages/linux/lftp.md @@ -25,8 +25,8 @@ - Download or update an entire directory: -`mirror {{path/to/remote_dir}} {{path/to/local_output_dir}}` +`mirror {{path/to/remote_directory}} {{path/to/local_output_directory}}` - Upload or update an entire directory: -`mirror {{[-R|--reverse]}} {{path/to/local_dir}} {{path/to/remote_output_dir}}` +`mirror {{[-R|--reverse]}} {{path/to/local_directory}} {{path/to/remote_output_directory}}` diff --git a/pages/linux/libtool.md b/pages/linux/libtool.md index 59ad886cf0..7136335280 100644 --- a/pages/linux/libtool.md +++ b/pages/linux/libtool.md @@ -21,7 +21,7 @@ - Complete the installation of `libtool` libraries on the system: -`libtool {{[f|finish]}} {{path/to/installation_dir}}` +`libtool {{[f|finish]}} {{path/to/installation_directory}}` - Delete installed libraries or executables: diff --git a/pages/linux/mktemp.md b/pages/linux/mktemp.md index f6780be3cb..6afbbe8565 100644 --- a/pages/linux/mktemp.md +++ b/pages/linux/mktemp.md @@ -9,7 +9,7 @@ - Use a custom directory (defaults to `$TMPDIR`, or `/tmp`): -`mktemp {{[-p |--tmpdir=]}}/{{path/to/tempdir}}` +`mktemp {{[-p |--tmpdir=]}}/{{path/to/temporary_directory}}` - Use a custom path template (`X`s are replaced with random alphanumeric characters): diff --git a/pages/linux/mount.md b/pages/linux/mount.md index e010a12e09..2cd3d14276 100644 --- a/pages/linux/mount.md +++ b/pages/linux/mount.md @@ -33,4 +33,4 @@ - Mount a directory to another directory: -`mount {{[-B|--bind]}} {{path/to/old_dir}} {{path/to/new_dir}}` +`mount {{[-B|--bind]}} {{path/to/old_directory}} {{path/to/new_directory}}` diff --git a/pages/osx/mktemp.md b/pages/osx/mktemp.md index c45eb49a7f..ed225d872d 100644 --- a/pages/osx/mktemp.md +++ b/pages/osx/mktemp.md @@ -9,7 +9,7 @@ - Use a custom directory (defaults to the output of `getconf DARWIN_USER_TEMP_DIR`, or `/tmp`): -`mktemp --tmpdir /{{path/to/tempdir}}` +`mktemp --tmpdir /{{path/to/temporary_directory}}` - Use a custom path template (`X`s are replaced with random alphanumeric characters): diff --git a/pages/osx/sips.md b/pages/osx/sips.md index 4b2c0b531c..a081e69a6c 100644 --- a/pages/osx/sips.md +++ b/pages/osx/sips.md @@ -6,7 +6,7 @@ - Specify an output directory so that originals do not get modified: -`sips --out {{path/to/out_dir}}` +`sips --out {{path/to/output_directory}}` - Resample image at specified size, Image aspect ratio may be altered: @@ -22,7 +22,7 @@ - Convert an image from CMYK to RGB: -`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{path/to/image.ext}} {{path/to/out_dir}}` +`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{path/to/image.ext}} {{path/to/output_directory}}` - Remove ColorSync ICC profile from an image: