fastmod
Verified for current stable LTS
Fastmod Command: Replace Regex In Directory With Case Insensitive Glob
Use for replace regex in directory with case insensitive glob with Fastmod. Exact CLI syntax to replace regex in directory with case insensitive glob using Fastmod.
When to use this: Use for replace regex in directory with case insensitive glob with Fastmod.
Command Syntax
fastmod <regex> <replacement> --dir <path/to/directory> --iglob '{{**/*.{js,json}}}' fastmod <regex> <replacement> --dir <path/to/directory> --iglob "{{**/*.`{js,json`}}}" Command Breakdown
--dir- Command Option
- Tool-specific option used by this command invocation.
--iglob- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to replace regex in directory with case insensitive glob using Fastmod.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Fastmod Command: Replace Exact String In Js Or Json Files
fastmod --fixed-strings <exact_string> <replacement> --extensions <json,js> Fastmod Command: Replace Exact String Without Confirmation fastmod --accept-all --fixed-strings <exact_string> <replacement> Fastmod Command: Replace Exact String Without Confirmation And Print Changed Files fastmod --accept-all --print-changed-files --fixed-strings <exact_string> <replacement> Fastmod Command: Replace Regex Case Insensitive In Specific Files fastmod --ignore-case <regex> <replacement> -- <path/to/file_or_directory1 path/to/file_or_directory2 ...> Fastmod Command: Replace Regex In All Files fastmod <regex> <replacement>