Rename file in cloud folder

operators.sys.rename_file_in_cloud_folder(client, folder_target='/folder_target', prefix='', suffix='', replace_from='', replace_to='', replace_count=0, worker_instance_type='x2large', manager_instance_type='small', extension_target='.laz', skip_existing_files=False)

rename_file_in_cloud_folder(client,
target=’/target’,
prefix=’’,
suffix=’’,
replace_from=’’,
replace_to=’’,
replace_count=0,
worker_instance_type=’x2large’,
manager_instance_type=”small”,
extension_target=”.”,
skip_existing_files = False )
Parameters:
  • prefix – add prefix

  • suffix – add suffix

  • replace_from – replace string in filename

  • replace_to – replace string in filename

  • replace_count – replace string in filename

  • folder_target – Target to be renamed

  • worker_instance_type – cloud instance type of worker nodes

  • manager_instance_type – cloud instance type of manager node

  • extension_target – File extension of files in folder for folder_target

  • skip_existing_files – skip files that already exist in the output folder