Jump to content

Translations:Archive:Kdenlive/Manual/ShootingHints/10/ru: Difference between revisions

From KDE UserBase Wiki
Bushuev (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 and..."
(No difference)

Revision as of 09:40, 1 November 2012

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Archive:Kdenlive/Manual/ShootingHints)
{{Input|1=<nowiki>
# /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
</nowiki>}}
# /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