We are migrating everything from Shell Scripting with C-Programming into Python. However, the job scripts are using GDG for renaming and keep files generations for the input files that are being sent via SFTP (i.e. SFTP file comes as “file_<client_name>_.csv” and gdg renames it as “<job_name>.csv.0001″, then <job_name>.csv.0002″, <job_name>.csv.0003″, <job_name>.csv.0004″, <job_name>.csv.0005″ …. from there when <job_name>.csv.0006″ is generated, <job_name>.csv.0001” is deleted, and so on):
“bldg $BASEDIR <job_name>.csv 5 4 any”
Is there any similar tool that for Python scripts?