Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
cat links | xargs -P 10 -r -n 1 wget --user=mujlogin --password=mojehslicko --auth-no-challenge --header="User-Agent: UFM 1.6" -nv -v
find -name "*\-avi" | while read line; do new=`echo "$line" | sed -e 's/\-avi/\.avi/g'`; mv $line $new; done
find -name "*\-mkv" | while read line; do new=`echo "$line" | sed -e 's/\-mkv/\.mkv/g'`; mv $line $new; done
find -name "*\-mp4" | while read line; do new=`echo "$line" | sed -e 's/\-mp4/\.mp4/g'`; mv $line $new; done
find -name "*\-rar" | while read line; do new=`echo "$line" | sed -e 's/\-rar/\.rar/g'`; mv $line $new; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.