Created
July 27, 2023 09:42
-
-
Save arioch1984/84063fcf25cfd38273c048b0f47aa4f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /percorso/della/cartella -type f -name "*.txt" -exec sed -i 's/pattern/replacement/g' {} + | |
# dry run | |
find /percorso/della/cartella -type f -name "*.txt" -exec sed -n 's/pattern/replacement/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment