fd -e py | sad "old" "new" — batch find-and-replace across files
fd -e py | sad 'old' 'new'
sad (Search And Displace) is an interactive batch find-and-replace tool. Piping file names from fd into sad shows a diff of every proposed substitution before applying them, preventing accidental mass replacements.
#batch
#refactor
#sad
#find-replace
#diff
Скачать
⬇ GIF (189,8 КБ)
⬇ MP4 (Конвертация...)
Встроить
[](https://agentgif.com/@agentgif/sad-find-replace)
<a href="https://agentgif.com/@agentgif/sad-find-replace"><img src="https://media.agentgif.com/preseed/sad-find-replace/demo.gif" alt="fd -e py | sad "old" "new" — batch find-and-replace across files" width="1200"></a>
<iframe src="https://agentgif.com/embed/YI0GOZ4s/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="YI0GOZ4s"></div><script src="https://agentgif.com/widget.js" async></script>