---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# transmission-edit

> Modify announce URLs from torrent files.
> See also: `transmission`.
> More information: <https://manned.org/transmission-edit>.

- Add a URL to a torrent's announce list:

`transmission-edit {{[-a|--add]}} {{http://example.com}} {{path/to/file.torrent}}`

- Remove a URL from a torrent's announce list:

`transmission-edit {{[-d|--delete]}} {{http://example.com}} {{path/to/file.torrent}}`

- Update a tracker's passcode in a torrent file:

`transmission-edit {{[-r|--replace]}} {{old-passcode}} {{new-passcode}} {{path/to/file.torrent}}`
