Replace in string array folder

operators.val.replace_in_string_array_folder(client, folder_in='/folder_in', folder_out='/folder_out', tokens_to_replace='', replacement_tokens='', worker_instance_type='x2large', manager_instance_type='small', extension_file_in='.txt', extension_file_out='.txt', skip_existing_files=False)
Replace tokens in a string array

replace_in_string_array_folder(client,
folder_in=’/folder_in’,
folder_out=’/folder_out’,
tokens_to_replace=’’,
replacement_tokens=’’,
worker_instance_type=’x2large’,
manager_instance_type=”small”,
extension_folder_in=”.txt”,
extension_folder_out=”.txt”,
skip_existing_files = False )
Parameters:
  • tokens_to_replace – Tokens to replace, comma separated

  • replacement_tokens – Replacement tokens, comma separated

  • folder_in – Input foldername

  • folder_out – Output foldername

  • worker_instance_type – cloud instance type of worker nodes

  • manager_instance_type – cloud instance type of manager node

  • extension_folder_in – File extension of files in folder for folder_in

  • extension_folder_out – File extension of files in folder for folder_out

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