Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget -q --user=xxx --password=xxx --xxxx
- xxxx://www.xxx.com/xxx/xxxxx/xxxx/list
- line_no=$(awk '{x++} END {print x}' /home/cmccabe/list) # count new files and store as variable
- if [[ -s /home/cmccabe/list ]]; then
- DATE=`date +%-m-%-d-%Y`
- mkdir -p /home/user/Desktop/xxx/xxx/$DATE/{example1,example2,example3} # make new directory and subfolders
- Date - example1, example2, example3
- IonXpress_001_R_2016_02_11_11_51_07_user_Proton-34-160210_Lurie_MedExome_Hi-Q_Auto_user_Proton-34-160210_Lurie_MedExome_Hi-Q_84.bam
- IonXpress_002_R_2016_02_11_11_51_07_user_Proton-34-160210_Lurie_MedExome_Hi-Q_Auto_user_Proton-34-160210_Lurie_MedExome_Hi-Q_84.bam
- IonXpress_003_R_2016_02_11_11_51_07_user_Proton-34-160210_Lurie_MedExome_Hi-Q_Auto_user_Proton-34-160210_Lurie_MedExome_Hi-Q_84.bam
- TSVC_variants_IonXpress_001.vcf.gz
- TSVC_variants_IonXpress_002.vcf.gz
- TSVC_variants_IonXpress_003.vcf.gz
- `Date - Identifier - example1, example2, example3
- 2-13-2015 (main directory) - IonXpress_001 (identifier as a sub-directory within 2-13-2015) - example1, example2, example3 (all sub-directories within the identifier).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement