Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while IFS=$'\t' read -r file path; do
- while [[ ! "$result" == *"Success"* ]]
- do
- echo transmission-remote -a "$file" -w "$path"
- result=$(transmission-remote -a "$file" -w "$path")
- echo "result=$result"
- done
- result=""
- done < ./data.txt
Advertisement
Add Comment
Please, Sign In to add comment