| http://www.w3.org/ns/prov#value | - e record.So if you were using pipes as delimiters, you could count the number of pipes in the record - 1 would mean it is a 2 column, 2 means a 3 column and 3 pipes is a 4 column.Based on the outcome, move the original file to a directory specifically for files with that count of delimiters - i.e. 1, 2 , or 3 (representing your 2, 3, or 4 columns respectively).Continue looping until all files have
|