I’m trying to create automation on a folder. The goal is automate an FFMPEG script that takes audio.wav and video.mov and turns them into one file.
I want to drag a video or audio file into a folder and then automatically it will rename it to audio.wav or video.mov depending on the file type. If audio.wav or video.mov already exists, I want it to be deleted/overwritten.
This is a stumbling block for me because the way I have it set up, it always deletes audio.wav even if only a video file has been added. And the FFMPEG script needs both
How do I make it check if an audio file has been added and make it keep the video file. And vice versa?