Created
June 1, 2018 10:04
-
-
Save random-robbie/fc35c1765200db7adf7f6c6d854d634a to your computer and use it in GitHub Desktop.
This file contains 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 | |
grep -l STRINGTOFIND *.FILEXT|cut -d: -f 1|sort -u|xargs -I {} mv "{}" PREFIX-"{}".FILEXT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment