Last active
January 23, 2023 14:19
-
-
Save nestserau/1e3f425e5fc09932026a to your computer and use it in GitHub Desktop.
Revisions
-
nestserau revised this gist
Feb 5, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ find /path/to/directory -name "*.ext" -exec bash -c 'mv {} $(echo {} | sed -e "s/foo/bar/")' \; -
nestserau revised this gist
Feb 5, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ find /path/to/directory -name "*.txt" -exec bash -c 'mv {} $(echo {} | sed -e "s/foo/bar/")' \; -
nestserau revised this gist
Feb 5, 2016 . No changes.There are no files selected for viewing
-
nestserau created this gist
Feb 5, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ find /var/www/mobile -name "*.txt" -exec bash -c 'mv {} $(echo {} | sed -e "s/mapping/visitconnect/" | sed -e "s/txt/mapping/")' \;