[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
[LUG]Re: Shell Scripting question
- To: list@xxxxxxxxxxxxx
- Subject: [LUG]Re: Shell Scripting question
- From: comrade meowski <mr.meowski@xxxxxxxx>
- Date: Thu, 26 Dec 2024 17:23:48 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qrL6eKFJuz8ReY1YiZbeXxyoX8tbWwm8ZTBusJ4XEFY=; b=MTSTuiWoXU/m0bFzmtk9L6nfiGK4Mp3vPRenimdd8gLZAbvFa8c/0QVFCz1eYgGDWnCjtCZH47KkT9ificnekFPbdIJDuvSa93h/uAIHT39uF3wpDnVI/fRN0ZFiR1KsoIeBrqw6G5HjuNizcGuAB2oObrUFqtNt1x2eJgKdqX6Cyz2XIWDFT1MRGLrposC1rRkgsAxskZWxSIjyOOEO+icPEtd9aMx+D6Lngje2/3H8Vf6Is+F8qktg4oQ9VJ2PHHqaWerhfUwenvPPqGDAj5t9EjK5s+4wQ/u4d9EbP384L/XytcLBc4OlYKvMtcOXD7oVVqvBcOxHziaU9Y7N0w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LAfSeSCcotWWPs8V7p+8kg9b2gwGmnDn2MGr+CONNGy80zaqxnb13UyGRulGlFoVd9EECA73bDVJ8TdiEOrd9e/8hh6FSEyj0A5MX0P0IKtjTMd0U0w8Zrz6MWLal51NOTdcgzzeU0OdoEi8LeorEEWqa6tZfg1sSfEuHfjD37xg62efqShs/rb+RXT+V/8Pe7Hk/BAslNnn3h9BywRZ4lpyygKxAVspoqIUMT49bHowO9iL3pR2U40PcMuQgyBBtUZ7kOZQdV8Gu37ZUTGnQvk/4PrH73H7Rx5OHnBDajilQ1QPH4tGunCeQeq5Bq90izz8m3seJoUtKI0SYss28A==
- Content-language: en-GB
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dcglug.org.uk; s=1728723962; h=Content-Transfer-Encoding:Content-Type: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Help:List-Id: Subject:Reply-To:MIME-Version:In-Reply-To:From:References:To:Date:Message-ID: Sender:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Archive; bh=ZwzSSj3QHpXM3utCVXdh/xgGopYLbwDkow+vTMC3vX8=; b=iNnAtcdg++BU0Gdui34X32oCt2 q+H86qnPZ4E/AFjeGP8PuXSP1j3lZATs7realoKenYMMwM7Gu08tBWSm7L7puN6GmcG2YAphAzvXu 6csbZxLG4QFOoj5TK9o93PQd7VAQ9GtSNFBCstqtszDnjHrJFOv4RQ2fJmN5edp3BYEE=;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qrL6eKFJuz8ReY1YiZbeXxyoX8tbWwm8ZTBusJ4XEFY=; b=aV2kFXsnoPoDnolUiKWPgaUdJiYmg5SCrZhytDKYPu1ocLrFKb0K1Kqa2dMGerB7rkP7Xz7zPbAMbBRagXrsnGwRAXhQQ7HSC2Avzzs5m6stlB53Sr/+vKuMuCJvQ1Yc+pv4Srg6DnSRgoOjQvJZYZERhpNCfuNAZMt3bEhLKZp6JvUDJfCjl1pD49Ddno5fWPNxrUKQd0esUXEb2Tebgk7J6uWZPAX3T4xSTY3bUhqE5OMdX7D2xUXsTarjhuUMIgKTx34+VegAzEDi5vdTLoMvjkzY4gmu8WYjvJrIpZrpENuru/KXX0LD2a5//o71sO7jb8AXFHXxNVKd4Qp/cQ==
dirty one liners in shell history are better than scripts.
ls ./*.mp4 | sed -e 's\.mp4\\g' | while read INFILE; do ffmpeg -i
$INFILE.mp4 -c copy -an $INFILE-ns.mp4; done
--
The Mailing List for the Devon & Cornwall LUG
FAQ: https://www.dcglug.org.uk/faq/