Posted in Mac OS X, Scripting, Uncategorized, Unix | I just dragged it into Terminal from the downloaded dmg. name "*-AppleTV.mp4" | sed -e 's/-AppleTV.mp4//g') do rm -i $ doneĪnd finally you can rename the new converted files to remove the old file extension and “-AppleTV”: IFS=$'\n' for new in $(find. To clean up the original files after you are happy with the converted files: IFS=$'\n' for orig in $(find. Of course if you only want to handle certain file types you can change or add to the options to the find command (-name “*.avi” for example). It will output them in the same directory as the original with the suffix “-AppleTV.mp4”. That command will find all files and attempt to convert them using the ‘AppleTV’ preset. Here is the command I am using for the conversion*: find. ![]() (It is okay if there are subdirectories you also want to process.) cd /Volumes/Data/Movies It turns out there is a HandBrake CLI tool you can download for doing batch conversions.Ĭhange into the directory of files you want to convert. ![]() But conversion of more than a few is tedious using the app. Handbrake is a free tool that can convert avi and other video type to mp4 movies that will play on the AppleTV. Once you’ve setup Home Sharing so you can play movies from iTunes on the AppleTV, you’ll notice that some movie types won’t play.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |