-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start
Mikhail Deynekin edited this page Apr 11, 2026
·
1 revision
This page redirects to the full Quick Start Tutorial.
Please visit the Quick Start Tutorial for a complete 10-lesson guided tutorial covering:
- Lesson 1: Your First Replacement
- Lesson 2: Safe Testing with Dry-Run
- Lesson 3: Working with Multiple Files
- Lesson 4: Using Case-Insensitive Search
- Lesson 5: Working with Word Boundaries
- Lesson 6: Your First Rollback
- Lesson 7: Working with Directories
- Lesson 8: Excluding Files and Directories
- Lesson 9: Setting Safety Limits
- Lesson 10: Putting It All Together
# Install sr
curl -L https://raw.githubusercontent.com/paulmann/sr-search-replace/main/sr.sh -o sr
chmod +x sr
# Basic usage: replace 'old' with 'new' in all .txt files
./sr "*.txt" "old" "new"
# Always test first with --dry-run
./sr --dry-run "*.html" "old-domain.com" "new-domain.com"
# Undo changes if needed
./sr --rollbackSee the full Quick Start Tutorial for step-by-step lessons.