How to locate files that are not converted to another format
Posted: 21.03.2022, 14:53
Hi
Often we have a list of files that are supposed to be converted to another format.
For example-
1. Source file to object file (coding)
2. word/text file to pdf file
3. mp4 file to mp3 file (extracting audio from a video)
4. ogg to mp3 (format conversion).
As a result of such conversion, we get pairs of files, which have the same name but different extensions.
In some of these cases, we may modify the source file after we have already converted it.
That means the earlier converted file is no longer valid: We need to convert the file again and overwrite the converted file.
How do we find such files that are either-
(a) not converted yet, and
(b) to be converted again (because the source file was modified after the previous conversion)
What are the steps?
Often we have a list of files that are supposed to be converted to another format.
For example-
1. Source file to object file (coding)
2. word/text file to pdf file
3. mp4 file to mp3 file (extracting audio from a video)
4. ogg to mp3 (format conversion).
As a result of such conversion, we get pairs of files, which have the same name but different extensions.
In some of these cases, we may modify the source file after we have already converted it.
That means the earlier converted file is no longer valid: We need to convert the file again and overwrite the converted file.
How do we find such files that are either-
(a) not converted yet, and
(b) to be converted again (because the source file was modified after the previous conversion)
What are the steps?