Split path folder

operators.sys.split_path_folder(client, in_folder='/in_folder', out_folder='/out_folder', split_type='filename', worker_instance_type='x2large', manager_instance_type='small', extension_in_path='.laz', extension_out_path='.laz', skip_existing_files=False)

split_path_folder(client,
in_folder=’/in_folder’,
out_folder=’/out_folder’,
split_type=’filename’,
worker_instance_type=’x2large’,
manager_instance_type=”small”,
extension_in_folder=”.”,
extension_out_folder=”.”,
skip_existing_files = False )
Parameters:
  • split_type – split type: [filename, dirname, basename, ext]

  • in_folder – input folder

  • out_folder – output folder

  • worker_instance_type – cloud instance type of worker nodes

  • manager_instance_type – cloud instance type of manager node

  • extension_in_folder – File extension of files in folder for in_folder

  • extension_out_folder – File extension of files in folder for out_folder

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