batch processing mac/linux: adds find command - for #207 (#220)

This commit is contained in:
Kieran O'Leary 2017-08-15 16:53:47 +01:00 committed by Reto Kromer
parent 7aa124c3d1
commit 905b75547b

View File

@ -1267,6 +1267,8 @@
<p>The basic pattern will look similar to this:<br>
<code>for item in *.ext; do ffmpeg -i $item <i>(ffmpeg options here)</i> "${item%.ext}_suffix.ext"</code></p>
<p>e.g., if an input file is bestmovie002.avi, its output will be bestmovie002_suffix.avi.</p>
<p>Variation: recursively process all MXF files in subdirectories using <code>find</code> instead of <code>for</code>:</p>
<p><code>find input_directory -iname "*.mxf" -exec ffmpeg -i {} -map 0 -c copy {}.mov \;</code></p>
<p class="link"></p>
</div>
</div>