Created
June 3, 2013 16:24
-
-
Save hyobyun/5699339 to your computer and use it in GitHub Desktop.
copy dicoms, only t1, restint combined, restSeq Combined
This file contains 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
images='dir1 | |
dir2 | |
' | |
for i in $images; do | |
mkdir /research/CIDAR_proc_test/2ndset/$i | |
cp -vR /mnt/DICOM_originals/CIDAR/dicom/$i/*interleaved_Combined* /research/CIDAR_proc_test/2ndset/$i/ | |
cp -vR /mnt/DICOM_originals/CIDAR/dicom/$i/*sequential_Combined* /research/CIDAR_proc_test/2ndset/$i/ | |
cp -vR /mnt/DICOM_originals/CIDAR/dicom/$i/*t1* /research/CIDAR_proc_test/2ndset/$i/ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment