D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG]Re: Shell Scripting question

 

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/