Splitting the dataset with shell commands