a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
Cumol  ·  1551 days ago  ·  link  ·    ·  parent  ·  post: Why is my bash loop not working?

My files are created by a program I cannot edit so I am bound to that. They are in numeric order, however, they are msCam1.avi, msCam2.avi,... msCam15.avi

I am using the -v in the first script to get the natural sorting of the files so they are in the correct order and then passing it to ffmpeg

Any suggestion how I could achieve the same without going through the first loop?