Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. collectionids="/Users/diunt-02/Desktop/dc-tools/packageCollection/collectionlist.txt"
  4.  
  5. harddrive="/Volumes/Untitled"
  6.  
  7. while IFS= read -r line
  8. do
  9. echo "${line}"
  10. folder="${harddrive}/${line}"
  11. mkdir "${folder}"
  12. echo "${folder}"
  13. cd "${folder}"
  14. python getCollectionstructure.py "${line}"
  15. python getModsFiles.py "${line}_file_manifest.json"
  16. python getCollectionImages.py "${line}"
  17. done <"${collectionids}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement