From c61f1b09c831226d7b0a1f697618c5a4800c1ccd Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sat, 22 Aug 2026 13:43:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20rsync=20-v=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=AE=9E=E6=97=B6=E6=BB=9A=E5=8A=A8=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=A0=8F=20+=20=E6=97=A5=E5=BF=97=E8=A1=8C=E6=95=B0?= =?UTF-8?q?=E4=B8=8A=E9=99=90=E9=98=B2=E5=88=B7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- transfer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transfer.py b/transfer.py index 721faf4..4bc22b5 100644 --- a/transfer.py +++ b/transfer.py @@ -262,7 +262,7 @@ class RsyncBackend: exclude_from: str = "", skip_existing: bool = False, append: bool = True, **_) -> list[str]: src = src.rstrip("/") + "/" - cmd = ["rsync", "-a", "--info=progress2"] + cmd = ["rsync", "-a", "-v", "--info=progress2"] if checksum: cmd.append("--checksum") if skip_existing: @@ -757,8 +757,8 @@ class TransferApp(App): yield Sparkline([0], summary_function=max, id="speed-spark") yield Static("", id="speed-stats") with Horizontal(id="logs"): - yield RichLog(id="file-log", highlight=True, markup=True) - yield RichLog(id="error-log", highlight=True, markup=True) + yield RichLog(id="file-log", highlight=True, markup=True, max_lines=200) + yield RichLog(id="error-log", highlight=True, markup=True, max_lines=100) with Horizontal(id="cmd-bar"): yield Input(placeholder="传输任务: 源路径 目标路径 [--backend rsync|rclone|tar --bwlimit 30000 ...] | help / quit", id="cmd") yield Footer()