Skip to content

Instantly share code, notes, and snippets.

@ucalyptus2
Created February 25, 2023 06:18
Show Gist options
  • Save ucalyptus2/5675b99562e0ac5f1bcf7355a8777432 to your computer and use it in GitHub Desktop.
Save ucalyptus2/5675b99562e0ac5f1bcf7355a8777432 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage: $0 <magnet_link>"
exit 1
fi
magnet_link="$1"
transmission-cli --download-dir=/content/ "$magnet_link"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment