Hasso-Plattner-Institut
Prof. Dr. Felix Naumann
  
 

Preparator API

renameFile(file, newName)

Description

Rename the specific data file.

Parameters

NameRequiredDescriptionDefaultValueExample
filePathrequiredThe file to change the encoding ../customer.csv
newNamerequiredThe desired new name of this file Customer.csv

Example Preparator

renameFile("E:\\Data\testdata\DimCustomer.csv", "DimentionTableCustomer.csv")