I have a CSV file with two columns and this information:
Column1 | Column2
USA | Chicago
USA | Dallas
FR | France
AUS | Sydney
AUS | Perth
I have to move all the files where Column1 equals AUS. For example,
mv Sydney* /usr/local/sbin
mv Perth* /usr/local/sbin
Is it possible to do this with a shell script without hardcoding?