Replace strings folder
- operators.val.replace_strings_folder(client, folder_in='/folder_in', folder_out='/folder_out', replace_from='', replace_to='', worker_instance_type='x2large', manager_instance_type='small', extension_file_in='.txt', extension_file_out='.txt', skip_existing_files=False)
- Substrings replacement in an ASCII file
- replace_strings_folder(client,folder_in=’/folder_in’,folder_out=’/folder_out’,replace_from=’’,replace_to=’’,worker_instance_type=’x2large’,manager_instance_type=”small”,extension_folder_in=”.txt”,extension_folder_out=”.txt”,skip_existing_files = False )
- Parameters:
replace_from – Comma-separated list of substrings to replace
replace_to – Comma-separated list of replacement substrings
folder_in – Path to the input folder
folder_out – Path to the output folder
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