-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreate_exacloud_folders.sh
More file actions
executable file
·44 lines (36 loc) · 2.8 KB
/
create_exacloud_folders.sh
File metadata and controls
executable file
·44 lines (36 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# create folders for exacloud
# create a list of folders to be created
folders=(
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_23/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_23/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_46/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_46/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_92/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_92/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_138/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_138/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_184/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_exp_patient_sp_184/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_23/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_23/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_46/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_46/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_92/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_92/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_138/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_138/output_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_184/error_reports
/home/groups/OMSAtlas/Code/kirchgae/MarkerIntensityPredictor/mesmer/tumor_in_patient_sp_184/output_reports
)
# loop through the list of folders and create them
for folder in "${folders[@]}"; do
if [ ! -d "${folder}" ]; then
echo "${folder} does not exists"
mkdir -p "${folder}"
fi
done