1 | initial version |
Assuming that the second column in the CSV file contains paths, you can use the cut command in Bash to extract the paths.
Here's an example command:
cut -d ',' -f 2 input.csv
Explanation:
cut
is a command in Bash for extracting sections from each line of a file.-d ','
specifies the delimiter as a comma (since the file is CSV).-f 2
specifies the field to extract (the second column).input.csv
is the name of the input file.This command will output the paths from the second column of the CSV file.