Backup diff of mac_bin2 (No. 5)


  • The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
*[[mac_bin2]] [#l80ecc38]

**[[command manuals>http://www.cbm.brain.riken.jp/~mri/fmriman/fmriman.html]] [#headd950]

mac_bin2 folder has many OSX commands developed by us.
The script, 'mrupdate', can download the folder onto your mac and update /usr/local/mac_bin2.
To use the commands, you should set your path appropriately.


-The folder,/usr/local/mac_bin2, will be overwritten.
-The original folder will be kept as /usr/local/mac_bin_old.
-You need to be an administrator and the command requires the input of your password.
-The data is updated once per day(midnight).
-It requires internet connection.
-mac_bin2 has mrupdate inside, so you don't need to keep the original one.
-The creation time information of mac_bin2 data is stored as mac_bin2/update.

For the first run, you need to set executable permission to mrupdate or just type 'sh ./mrupdate<RET>'.

When your environment is the newest, the message below will be shown.
 >mrupdate
 ***** VERSION Thu Jul 21 17:34:02 JST 2016 *****
 Nothing to be updated....exit [mrupdate]

*[[shell setting]] [#b861ae0c]
**csh/tcsh [#r620f595]
 ~/.cshrc or ~/.tcshrc
 set path=(/usr4/local/mac_bin2 /usr/local/mac_bin2 $path)

**bash [#wfca2ad6]
 ~/.bashrc
 PATH=/usr4/local/mac_bin:/usr4/local/mac_bin2:"$PATH"