forked from andonome/lk
		
	redo transmission
This commit is contained in:
		
							
								
								
									
										67
									
								
								networking/transmission.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								networking/transmission.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,67 @@ | |||||||
|  | # Torrench | ||||||
|  |  | ||||||
|  | Torrench searches for torrents. | ||||||
|  | It breaks a lot, so if it's not working, the problem is probably in the program. | ||||||
|  |  | ||||||
|  | Search for 'sita sings the blues' with: | ||||||
|  |  | ||||||
|  | > torrench 'sita sings the blues' | ||||||
|  |  | ||||||
|  | Copy the magnet link. | ||||||
|  | It looks like this: | ||||||
|  |  | ||||||
|  | `magnet:?xt=urn:btih:05547db7c0c5fbbe50f00212ee43e9cec5b006fa&dn=Sita+Sings+the+Blues+%281080P+official+release%29&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969` | ||||||
|  |  | ||||||
|  | # Transmission | ||||||
|  |  | ||||||
|  | The package is often called `transmission-cli`. | ||||||
|  | Install it then start the service. | ||||||
|  |  | ||||||
|  | Arch Linux: | ||||||
|  |  | ||||||
|  | > sudo systemctl start transmission | ||||||
|  |  | ||||||
|  | Debian: | ||||||
|  |  | ||||||
|  | > sudo systemctl start transmission-daemon | ||||||
|  |  | ||||||
|  | Add a torrent by the .torrent file, or a magnet link, like this: | ||||||
|  |  | ||||||
|  | > transmission-remote -a 'magnet:?xt=urn:btih:05547db7c0c5fbbe50f00212ee43e9cec5b006fa&dn=Sita+Sings+the+Blues+%281080P+official+release%29&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969' | ||||||
|  |  | ||||||
|  | > transmission-remote -a sita.torrent | ||||||
|  |  | ||||||
|  | Now let's check that the torrent's been added successfully. | ||||||
|  |  | ||||||
|  | > transmission-remote -l | ||||||
|  |  | ||||||
|  | To see the torrents, go to /var/lib/transmission/Downloads | ||||||
|  |  | ||||||
|  | If you don't have permission, either add the directory to the group made for your username, or add yourself to the `:transmission` group, or otherwise make sure that you can read that directory, and the user `transmission` can read, write and execute. | ||||||
|  | E.g.: | ||||||
|  |  | ||||||
|  | > sudo usermod -aG transmission $USER | ||||||
|  |  | ||||||
|  | Open a new terminal for the group changes to take effect. | ||||||
|  |  | ||||||
|  | ## Removing Torrents | ||||||
|  |  | ||||||
|  | If you don't want to have a file active as a torrent, get it's number with `transmission-remote -l`, then, if it were number '4', do: | ||||||
|  |  | ||||||
|  | > transmission-remote -t 4 -r | ||||||
|  |  | ||||||
|  | You can now move the file, and the torrent will not be confused. | ||||||
|  |  | ||||||
|  | To both **r**emove **a**nd **d**elete a file, use `-rad`: | ||||||
|  |  | ||||||
|  | > transmission-remote -t 4 -rad | ||||||
|  |  | ||||||
|  | # Moving Torrents | ||||||
|  |  | ||||||
|  | First, make sure that the user 'transmission' has permission to move the file. | ||||||
|  | If the file is in your home - `~` - but `transmission` is not allowed in your home, the file will not move there. | ||||||
|  |  | ||||||
|  | Next, find the torrent's number.  You can use multiple numbers, separated with a comma: | ||||||
|  |  | ||||||
|  | > transmission-remote -t 3,5,8 --move /home/alice/music | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user