datalad_save.sh 356 B

1234567
  1. #!/bin/bash
  2. # save each ID folder individually to counteract an error regarding length of a git command
  3. # it may be preferable to create individual subdatasets in the future
  4. # see https://neurostars.org/t/dividing-existing-datalad-dataset-into-subdatasets/7067/6
  5. for dir in ./../sub-*; do cd ${dir}; datalad save -m "change to text2git"; cd ./code/; done