Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. wget -q --user=xxx --password=xxx --xxxx
  2. xxxx://www.xxx.com/xxx/xxxxx/xxxx/list
  3. line_no=$(awk '{x++} END {print x}' /home/cmccabe/list) # count new files and store as variable
  4. if [[ -s /home/cmccabe/list ]]; then
  5. DATE=`date +%-m-%-d-%Y`
  6. mkdir -p /home/user/Desktop/xxx/xxx/$DATE/{example1,example2,example3} # make new directory and subfolders
  7.  
  8. Date - example1, example2, example3
  9.  
  10. 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
  11. 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
  12. 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
  13. TSVC_variants_IonXpress_001.vcf.gz
  14. TSVC_variants_IonXpress_002.vcf.gz
  15. TSVC_variants_IonXpress_003.vcf.gz
  16.  
  17. `Date - Identifier - example1, example2, example3
  18. 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