motion_energy_matlab
motion_energy_matlab copied to clipboard
nishimoto_2011_val_1min.mat git-annex?
If you would like I could add that file under git annex control so anyone cloning this repo could just git annex get it if they have git annex installed
No pressure whatever
FWIW this is how it could be done:
(git)hopa:~/proj/misc/motion_energy_matlab[master]
$> git annex init # complaint below is "safe" -- just that annex notes that it cannot use github for storing the data
init curl: (22) The requested URL returned error: 404 Not Found
Remote origin not usable by git-annex; setting annex-ignore
ok
(recording state in git...)
$> cd demo
$> git annex addurl --file=nishimoto_2011_val_1min.mat https://dl.dropbox.com/s/svo55behbw3m1zy/nishimoto_2011_val_1min.mat?dl=0
addurl nishimoto_2011_val_1min.mat (downloading https://dl.dropbox.com/s/svo55behbw3m1zy/nishimoto_2011_val_1min.mat?dl=0 ...)
/home/yoh/proj/misc/motion_energy_mat 100%[=========================================================================>] 133.53M 40.4MB/s in 3.4s
2017-08-24 13:27:09 URL:https://dl.dropboxusercontent.com/s/svo55behbw3m1zy/nishimoto_2011_val_1min.mat?dl=0 [140015723/140015723] -> "/home/yoh/proj/misc/motion_energy_matlab/.git/annex/tmp/URL-s140015723--https&c%%dl.dropbox.com%s%svo55b-0b3514843e8994bfb9743a76eba47bca" [1]
ok
(recording state in git...)
$> git commit -m "Added git-annexed nishimoto_2011_val_1min.mat file pointing to dropbox" -a
[master 1a22cbb] Added git-annexed nishimoto_2011_val_1min.mat file pointing to dropbox
1 file changed, 1 insertion(+)
create mode 120000 demo/nishimoto_2011_val_1min.mat
$> git push --all --dry-run origin
To github.com:gallantlab/motion_energy_matlab
1d7b1a9..1a22cbb master -> master
* [new branch] git-annex -> git-annex