Last active
          July 4, 2020 23:53 
        
      - 
      
- 
        Save juliangroen/eeae94bf4926ca6f6e5f1356062173b8 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
    
  
  
    
  | ftStart=".avi" | |
| ftEnd=".mp4" | |
| for file in $(find . -name '*.sm'); do | |
| echo changing ${ftStart} to ${ftEnd} in ${file} | |
| sed -i "s/${ftStart}/${ftEnd}/g" ${file} | |
| done | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
chmod +x patrix.sh