#author("2025-03-06T05:50:57+00:00","default:fmri","fmri")
*[[mac_bin2]] [#l80ecc38]
**[[command manuals>http://www.fmri.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.
Simply, you can copy and paste the following line and give your password.
curl -fsSL http://fmri.brain.riken.jp/~chisatos/download/mrupdate | /bin/bash -C -s -- Y
You can also download the installer script by itself
#ref(mrupdate)
-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.
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:/usr/local/mac_bin2:"$PATH"
PATH=/usr4/local/mac_bin2:/usr/local/mac_bin2:"$PATH"
**Update history [#e7184aae]
http://www.fmri.brain.riken.jp/~uken/download/macbinlog.txt