AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1494174
Accepted
Maarten Deen
Maarten Deen
Asked: 2023-11-28 17:09:54 +0800 CST2023-11-28 17:09:54 +0800 CST 2023-11-28 17:09:54 +0800 CST

从cli获取传输下载目录

  • 772

有没有办法使用远程传输查看 torrent 的当前下载位置?在网络界面中,您可以查看和设置单个 torrent 的位置,但除非我遗漏了某些内容,否则此选项在远程传输中不可用?(-w 仅设置全局位置或在添加 torrent 时设置位置)。

有没有办法从 /var/lib/transmission-deamon 中的 torrent 文件中提取它?

transmission
  • 1 1 个回答
  • 67 Views

1 个回答

  • Voted
  1. Best Answer
    Artur Meinild
    2023-11-28T17:39:35+08:002023-11-28T17:39:35+08:00

    您可以使用--session-info( -si) 选项获取默认下载目录:

    transmission-remote host:port -si
    

    输出:

    VERSION
      Daemon version: 4.0.4 (24077e3511)
      RPC version: 17
      RPC minimum version: 14
    
    CONFIG
      Configuration directory: /data/transmission-home
      Download directory: /data/download
      Listenport: 49115
      Portforwarding enabled: No
      uTP enabled: No
      Distributed hash table enabled: Yes
      Local peer discovery enabled: No
      Peer exchange allowed: Yes
      Encryption: required
      Maximum memory cache size: 4.00 MiB
    
    LIMITS
      Peer limit: 240
      Default seed ratio limit: Unlimited
      Upload speed limit: 12.50 MB/s (Enabled limit: 12.50 MB/s; Disabled turtle limit: 5.00 MB/s)
      Download speed limit: 50.00 MB/s (Enabled limit: 50.00 MB/s; Disabled turtle limit: 5.00 MB/s)
    
    MISC
      Autostart added torrents: Yes
      Delete automatically added torrents: No
    

    --info您可以使用( ) 选项获取特定 torrent 的文件-i:

    transmission-remote host:port -t 1 -i
    

    输出:

    NAME
      Id: 1
      Name: debian-live-12.2.0-amd64-lxqt.iso
      Hash: a920aca5550cf0cc1c1675a92220b5733128fafc
      Magnet: magnet:?xt=urn:btih:a920aca5550cf0cc1c1675a92220b5733128fafc&dn=debian-live-12.2.0-amd64-lxqt.iso&tr=http%3A%2F%2Fbttracker.debian.org%3A6969%2Fannounce&ws=https%3A%2F%2Fcdimage.debian.org%2Fcdimage%2Frelease%2F12.2.0-live%2Fiso-hybrid%2Fdebian-live-12.2.0-amd64-lxqt.iso&ws=https%3A%2F%2Fcdimage.debian.org%2Fcdimage%2Farchive%2F12.2.0-live%2Fiso-hybrid%2Fdebian-live-12.2.0-amd64-lxqt.iso
      Labels: 
    
    TRANSFER
      State: Idle
      Location: /data/download
      Percent Done: 100%
      ETA: 0 seconds (0 seconds)
      Download Speed: 0 kB/s
      Upload Speed: 0 kB/s
      Have: 3.21 GB (3.21 GB verified)
      Availability: 100%
      Total size: 3.21 GB (3.21 GB wanted)
      Downloaded: 3.21 GB
      Uploaded: 2.18 GB
      Ratio: 0.6
      Corrupt DL: None
      Peers: connected to 0, uploading to 0, downloading from 0
      Web Seeds: downloading from 0 of 2 web seeds
    
    HISTORY
      Date added:       Fri Oct 13 09:04:27 2023
      Date finished:    Fri Oct 13 09:14:08 2023
      Date started:     Sun Nov 26 04:02:27 2023
      Latest activity:  Mon Nov 27 02:25:13 2023
      Downloading Time: 9 minutes (580 seconds)
      Seeding Time:     40 days (3513509 seconds)
    
    ORIGINS
      Date created: Sat Oct  7 14:10:46 2023
      Public torrent: Yes
      Comment: "Debian CD from cdimage.debian.org"
      Creator: mktorrent 1.1
      Piece Count: 12252
      Piece Size: 256.0 KiB
    
    LIMITS & BANDWIDTH
      Download Limit: Unlimited
      Upload Limit: Unlimited
      Ratio Limit: Default
      Honors Session Limits: Yes
      Peer limit: 60
      Bandwidth Priority: Normal
    

    您-w设置全局下载目录或在添加时为特定 torrent 设置它也是正确的。

    无法更改活动 torrent 下载的下载目录。

    • 2

相关问题

  • 为什么传输不遵守我的 1 KB/秒上传限制?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve