home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
MKV merge - multiple files at once?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Felix26591" data-source="post: 1071564" data-attributes="member: 146909"><p>I know this is an old topic, but had a hard time looking for answers as well, and finally decided to do it myself. It's a small bash code, you place it in the main directory where you have all ur subdirectories and run it with MKVmerge installed, you can change any video filetype into an MKV just by changing the file extension in the find command, and changing the output to the filetype (or simply copy and paste code multiple times with different filetypes).</p><p></p><p>Here's the bash code:</p><p></p><p>find -type f -name '*.avi' | {</p><p> while read filename ; do</p><p> mkvmerge -o "./${filename%.avi}.mkv" "$filename"</p><p> done</p><p>}</p><p></p><p></p><p>That's it and if u are using linux to automatically delete all the files with the unwanted extension just run this bash script :</p><p></p><p>find . -name "*.avi" -exec rm -rf {} \;</p></blockquote><p></p>
[QUOTE="Felix26591, post: 1071564, member: 146909"] I know this is an old topic, but had a hard time looking for answers as well, and finally decided to do it myself. It's a small bash code, you place it in the main directory where you have all ur subdirectories and run it with MKVmerge installed, you can change any video filetype into an MKV just by changing the file extension in the find command, and changing the output to the filetype (or simply copy and paste code multiple times with different filetypes). Here's the bash code: find -type f -name '*.avi' | { while read filename ; do mkvmerge -o "./${filename%.avi}.mkv" "$filename" done } That's it and if u are using linux to automatically delete all the files with the unwanted extension just run this bash script : find . -name "*.avi" -exec rm -rf {} \; [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
MKV merge - multiple files at once?
Contact us
RSS
Top
Bottom