In order to properly handle filenames that actually have _\d+ as the last characters before the file extension, we add the original_filename field to the File object. The value doesn't really matter, if we find a file with an original_filename, we know it's already been renamed and we can infer how to do the renaming.
Fixes #6.
The rename scheme is:
In order to properly handle filenames that actually have
_\d+
as the last characters before the file extension, we add theoriginal_filename
field to theFile
object. The value doesn't really matter, if we find a file with anoriginal_filename
, we know it's already been renamed and we can infer how to do the renaming.