Stop Opening Every File Manually
Need to replace "http://" with "https://" in 50 files? Need to count how many times a word appears across a thousand documents?
Do it in one command:
npx text-processor-pro replace ./logs/ "old" "new" -o ./cleaned/
npx text-processor-pro count ./docs/ "error" -r
npx text-processor-pro extract ./reports/ "\d{4}-\d{2}-\d{2}" -o dates.txt
npx text-processor-pro format ./data/ --trim --lowercase
Features
- Replace: Find & replace with regex support, preview mode
- Count: Word frequency, line count, character count
- Extract: Pull matching patterns into a new file
- Format: Trim, uppercase, lowercase, remove blank lines
- Recursive: Process nested directories
npm install -g text-processor-pro
More Resources
- 🛠️ My tools & open-source projects: GitHub
- 📝 Blog & updates: TucaoWall
- ☁️ Deploy your own cloud server and get $25 credit: DigitalOcean
- 🐙 CLI Toolkit Pro (bundle of all my CLI tools): npm
- 💼 Hire me on Freelancer: a0982
Top comments (0)