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 (1)
TextStow could be useful for this workflow โ clipboard history + reusable favorites + prompt templates + cleanup for JSON/PDF/URLs. Local-first, free: textstow.com