Heudiconv across multiple sessions

Hi, Mathias,

Heudiconv is really great! I also hope to use it automatically deal with multiple session of multiple subjects.

Seems that one solution is to use for loop in bash to run multiple session & multiple participant (as you mentioned in Heudiconv on multiple subjects).

I am still new to Linux (only use Linux recently for heudicov, fmriprep, and Nipype), so I am wondering, are there some example bash code/files that I can imitate?