diff --git a/torrent_api/README.md b/torrent_api/README.md index 79f8ce0..273528b 100644 --- a/torrent_api/README.md +++ b/torrent_api/README.md @@ -23,8 +23,9 @@ instance.show_torrents(id=True) # Include torrent hashes in the listing. downloaded files by default. Pass `delete_files=False` to retain the files. It returns the matching torrent records after a successful deletion. `get_torrent_contents` prints files whose progress meets the threshold -(default: 1.0). Names must match exactly; use the hash if multiple torrents -have the same name. +(default: 1.0). Pass `copy_to` with a destination directory to also copy files +that are 100% complete there, preserving their torrent-relative paths. Names +must match exactly; use the hash if multiple torrents have the same name. ## CLI and debugging @@ -41,7 +42,8 @@ torrent-api The CLI uses the existing private and public instance addresses and supports `--sort`, `--asc`, `--force-start`, `--show-id`, `--id` (torrent name or hash -for contents), and `--progress-threshold`. The VS Code launch configuration +for contents), `--progress-threshold`, and `--copy-to` (a destination directory +for completed files). The VS Code launch configuration uses the workspace `main.py` and loads `.env` automatically. Keep this file private; it is ignored by Git.