-
-
Save Bioblaze/e9029a61e8e31b8013b3be978e449273 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example of using xargs to find files and sending files to a shell command with complicated file parsing | |
ls *mp4 | xargs -I{} sh -c 'base=$(basename $1 .mp4) ; ffmpeg -i "$1" -vcodec copy -an "${base}"_noaudio.mp4' -- {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment