Created
May 5, 2020 18:57
-
-
Save felixxm/210e2a241c5ac17f5d2e569c31e1354c 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
#!/bin/bash | |
for file in `find -name urls.py` | |
do | |
sed -e 's/ url(/ re_path(/g' $file > $file.bck | |
mv $file.bck $file | |
echo $file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment