Need to bacth unix commands…
Hello!
I need to run a batch on two unix commands based on a textfile.
sudo cp -r /system/library/user\ Template/English.lproj /volumes/"Macintosh HD"/Users/USERNAME
sudo chown -R USERNAME /volumes/"Macintosh HD"/Users/USERNAME
Both commands need to find the USERNAME variable from the textfile.
Is there an simple way to do this from the terminal?