Guest User

Untitled

a guest
Jan 20th, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. #!/bin/bash
  2. # Unrar my torrent files after download
  3.  
  4. # get parameter from qBT (the torrent path) and set it as a variable for the script.
  5. t_path="$1"
  6.  
  7. # change to the torrent directory
  8. cd "$t_path"
  9.  
  10. # unrar any rar files inside the directory
  11. /usr/bin/unrar x *.rar
Add Comment
Please, Sign In to add comment