feat(recover): recover a selection of folders relative to each marked folder

A marked folder a/b/Projeto is recreated as Projeto/... with everything
inside it; single marked files go to the destination root and unmarked
files inside a marked folder are left out. recover_start accepts
{selection: {folders, ids, exclude}}.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-03 13:31:45 -03:00
1 parent b274f0b7ef
commit ca677a8bc1
5 files changed
+410 -11

No files matched your search

+1 -1
View File
@@ -812,7 +812,7 @@ fn recover_job(
filter.organize
))?;
let rj = eng
.start_recover(scan_job, ids, Some(q), dest, layout)
.start_recover(scan_job, ids, Some(q), None, dest, layout)
.map_err(s)?;
let st = wait(eng, &rj, None)?;
eprintln!();