Guest User

Untitled

a guest
Jan 20th, 2020
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data