Translations:Archive:Kdenlive/Manual/ShootingHints/10/uk

From KDE UserBase Wiki
Revision as of 18:47, 7 November 2011 by Yurchor (talk | contribs) (Created page with "{{Input|1=<nowiki> # /source/directory # /destination/directory # # change to destination directory cd /destination/directory #find all *.MXF files in a specific directory ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
# /source/directory
# /destination/directory
#
# change to destination directory
cd /destination/directory
#find all *.MXF files in a specific directory and loop through them using the variable 'i'
for i in /source/directory/*.MXF
do
# use mxfsplit to convert files
STREAM=`mxfsplit -m $i | grep “File=” | cut -c 31-52`
# rename the files so they make sense, appending the word 'converted' to the end of the basename
mv *.Stream "`basename $i .MXF`converted.MXF"
#end loop
done