jfreak53

Plowdown CLI link downloader

Apr 7th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. read -d `echo -e "\e"` -p "Please paste your links (end with ESC): " ME
  4.  
  5. echo -e "\r" && read -p "Do you wish to shutdown when finished? (y/n) " RESP
  6.  
  7. plowdown $ME
  8.  
  9. if [ "$RESP" = "y" ]; then
  10.   sudo shutdown -h now
  11. fi
Add Comment
Please, Sign In to add comment