mac_bin2
Last-modified: 2020-04-07 (Tue) 09:11:18 (1481d)
mac_bin2 †
command manuals †
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
- 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? †
csh/tcsh †
~/.cshrc or ~/.tcshrc set path=(/usr4/local/mac_bin2 /usr/local/mac_bin2 $path)
bash †
~/.bashrc PATH=/usr4/local/mac_bin:/usr/local/mac_bin2:"$PATH"