<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; CMD/BAT: Исключить расширение из имени файла]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=18312&amp;type=atom" />
	<updated>2024-10-12T13:15:42Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=18312</id>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Исключить расширение из имени файла]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161673#p161673" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, спасибо за подсказку! ChatGPT справился!</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2024-10-12T13:15:42Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161673#p161673</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Исключить расширение из имени файла]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161671#p161671" />
			<content type="html"><![CDATA[<p>На виндовом cmd.exe такое не работает. Я бы просто спросил у нейросети.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-10-11T17:52:48Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161671#p161671</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Исключить расширение из имени файла]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161670#p161670" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, могу ошибаться. В работе Automator на macOS этот блок значится Shell-скриптом, но такую ветку здесь не обнаружил.</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2024-10-11T17:14:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161670#p161670</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CMD/BAT: Исключить расширение из имени файла]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161668#p161668" />
			<content type="html"><![CDATA[<p>А вы уверены, что это код для cmd.exe?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2024-10-11T14:42:20Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161668#p161668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CMD/BAT: Исключить расширение из имени файла]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=161667#p161667" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>for f in &quot;$@&quot;; do
	/opt/homebrew/bin/ffmpeg -i &quot;$f&quot; -c:v libx265 -vtag hvc1 &quot;$f&quot;.mp4
	/bin/rm &quot;$f&quot;
done;</code></pre></div><p>Здравствуйте! Сценарий конвертирует видео и удаляет исходный файл. На выходе получаю файл с двойным расширением (<em>~mp4.mp4</em>). Как исключить расширение из названия исходного файла? На выходе файл должен иметь расширение .mp4, но на входе может быть .mov, .ts, .braw и т.д. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2024-10-11T13:36:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=161667#p161667</id>
		</entry>
</feed>
