SpaceInvaders

code sample

Jun 7th, 2017
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. while IFS=$'\t' read -r file path; do
  4.  
  5. while [[ ! "$result" == *"Success"* ]]
  6. do
  7. echo transmission-remote -a "$file" -w "$path"
  8. result=$(transmission-remote -a "$file" -w "$path")
  9. echo "result=$result"
  10. done
  11.  
  12. result=""
  13.  
  14. done < ./data.txt
Advertisement
Add Comment
Please, Sign In to add comment