Find file paths

operators.sys.find_file_paths(client, input_files='files.txt', output_files='paths.txt', search_folder='/search_folder', replace_in='', replace_out='', substrings='', instance_type='x2large')

find_file_paths( client,
input_files=’files.txt’,
output_files=’paths.txt’,
search_folder=’/search_folder’,
replace_in=’’,
replace_out=’’,
substrings=’’,
instance_type=’x2large’ )
Parameters:
  • input_files – File containing the list of filenames

  • output_files – Path to save the modified filelist

  • search_folder – Folder to traverse for finding files

  • replace_in – The part to replace in the filenames

  • replace_out – The new part to replace with

  • substrings – a list of substrings that need to occure in the file paths to be vallid

  • instance_type – type of cloud instance used for processing