Skip to content

Instantly share code, notes, and snippets.

@mojoaxel
Last active April 7, 2025 21:43
Show Gist options
  • Save mojoaxel/5a8e9fe406ea9dddef3d258210747b85 to your computer and use it in GitHub Desktop.
Save mojoaxel/5a8e9fe406ea9dddef3d258210747b85 to your computer and use it in GitHub Desktop.

Archive.org torrent TV

tbd

# Use this locally by cloneing
git clone [email protected]:5a8e9fe406ea9dddef3d258210747b85.git

Hardware

I have used the following hardware:

Software

Mount external USB drive

See https://www.cyberciti.biz/faq/linux-disk-format/ for details.

# use fdisk to format disk:
#  - p – display the partition table
#  - i – show information about a partition
#  - d – delete a partition
#  - n – create a new partition
#  - v – verify the partition table
#  - w – write the new partition table and exit
fdisk

# Format using the ext4 fiel system
mkfs.ext4 /dev/sda1

# mount the drive to /mnt/usbdrive/
mount /dev/sda1 /mnt/usbdrive/

# mount on boot
### TODO: see https://www.cyberciti.biz/faq/linux-disk-format/

Install transmission torrent client

# Add debian-transmission user to the pi group
sudo usermod -a -G pi debian-transmission

# Make the directories group-writable
sudo chmod -R g+rwx /mnt/usbdrive/

# Ensure new files maintain the group permissions
sudo chmod g+s /mnt/usbdrive/
sudo chmod g+s /mnt/usbdrive/downloads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment