This is on ubuntu 18.04. I have access to bash, pip3, and ruby gems on this machine.
Trying to work with multiple mp4 files that were sent to us by VHS converter company. Each file has at least a version with 240p in the name and some of them have both a 240p filename and a 480p filename.
They stuck these hundreds of files in one zip and sent them to us.
If every mp4 file is in one directory, how could I find only the files that have both a 240p and a 480p version and remove the 240p version -- without removing the files that have ONLY a 240p version.