feat: add --backup-converted flag to keep .orig backups

This commit is contained in:
2026-06-29 11:56:09 +02:00
parent 6e58502598
commit f915299fa4
4 changed files with 20 additions and 4 deletions
+1
View File
@@ -403,6 +403,7 @@ func (c *Client) downloadMirror(ctx context.Context, req *core.DownloadRequest)
ConvertLinks: c.config.Recursive.ConvertLinks,
DownloadAssets: c.config.Recursive.MirrorAssets,
PruneEmpty: true,
BackupConverted: c.config.Recursive.BackupConverted,
RestrictFiles: true,
Timeout: c.config.Transport.Timeout,
RespectRobots: c.config.Recursive.RespectRobots,