SHARE
TWEET

Upload list cleaner

steeloats Jan 14th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. if [[ $# -ne 1 ]]; then
  4.         echo "Give one parameter, the path to the upload list textfile."
  5.         exit 2
  6. fi
  7.  
  8. awk 'NR % 3 == 1' $1 | sed 's/^DL | FL | RP //;s/Vote: \xe2\x88\xa7 \xe2\x88\xa8//'
  9.  
  10. exit 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top