Home Forums OS X Server and Client Discussion Questions and Answers Need to bacth unix commands…

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #367270
    wiitho
    Participant

    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?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed