Created
June 3, 2019 17:05
-
-
Save ilkayisik/4a071199221fae0f555c4f3ae47aa001 to your computer and use it in GitHub Desktop.
copy certain folders to another place with a subject loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for sub in {01..26}; do | |
echo sub-${sub} | |
mkdir /Users/ilkay.isik/MPI-Documents/hack_19/data/analysis/sub-${sub} | |
mkdir /Users/ilkay.isik/MPI-Documents/hack_19/data/analysis/sub-${sub}/pfobloc | |
src=/Users/ilkay.isik/project_folder_temp/fc_content/MRI_data/lscp_data/derivatives/analysis/sub-${sub}/pfobloc/pfobloc.feat | |
dest=/Users/ilkay.isik/MPI-Documents/hack_19/data/analysis/sub-${sub}/pfobloc/pfobloc.feat | |
echo ${src} '****' ${dest} | |
cp -r ${src} ${dest} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment