Created
          June 17, 2012 05:40 
        
      - 
      
- 
        Save alfredormz/2943530 to your computer and use it in GitHub Desktop. 
    Script to convert .mov files to mp4
  
        
  
    
      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
    
  
  
    
  | file_path=$1 | |
| count=0 | |
| for file in $file_path/*mov ; do | |
| ffmpeg -i "$file" -vcodec copy -acodec copy "${file%.*}".mp4 | |
| rm "$file" | |
| let count=count+1 | |
| done | |
| notify-send ".mov 2 .mp4 convertion" "$count files converted" --icon=totem | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment