Rename Landsat files

Rename Landsat images files from, e.g:

LE70080532002152EDC00SR_Enmask.tif

to standard structure of SMByC project:

Landsat_8_53_020601_7ETM_Reflec_SR.tif

The SMByC filename structure is:

Landsat_PP_RR_YYMMDD_VSSS_TYPE.tif

Accept two filename format input:

How to use

In shell application go to directory where are the files and execute:

rename-landsat-files -t TYPE DIR_OR_FILES

Run as script: