Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- # Download WeTransfer files from the command line
- # Click to start a download, but then stop it; copy the download URL and paste between 'non-interpolating quotes' as an argument to this script.
- # MJS 190807
- url=$1
- output=$(ack -o '(?<=/)[^/\?]+(?=\?)' <(echo $url))
- curl $url --location --output $output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement