Approx 40 lines python code to sort files with duplicate string based on filetype and parent directory name

In Corso Pubblicato 6 anni fa Pagato alla consegna
In Corso Pagato alla consegna

When I take a photo, the camera creates 1-3 files with same filename but with different extensions

(for example, [login to view URL], [login to view URL], [login to view URL]). I need to sort these multiple files into 2 folders:

_raw_dir ([login to view URL]) and _sup_dir ([login to view URL], [login to view URL]). I need to do it for multiple camera types at once, according to specifications in a dictionary table. (As a help, I am enclosing an old and preliminary php file that does similar but not identical media sorting. This can serve as a guidance.)

PHP Python

Rif. progetto: #15621195

Info sul progetto

2 proposte Progetto a distanza Attivo 6 anni fa