File size: 1,932 Bytes
3ce179f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Prostatectomy split archive transfer guide

This is a new transfer guide. It does not replace or modify the source dataset's
original `prostatectomy/README.md`.

## Archive layout

All archives are uncompressed tar files. Every archive retains the top-level
`prostatectomy/` path, so extracting every part into the same parent directory
reconstructs the original dataset tree.

First batch:

- `prostatectomy_non_video.tar`: original `README.md`, `data/`, and `meta/`
- `prostatectomy_videos_chunk-000.tar`
- `prostatectomy_videos_chunk-001.tar`
- `prostatectomy_videos_chunk-002.tar`
- `prostatectomy_videos_chunk-003.tar`
- `prostatectomy_videos_chunk-004.tar`

Remaining video chunks to package after the first batch has been uploaded and
local space has been reclaimed:

- `chunk-005` through `chunk-010`

Files ending in `.partial` are still being written and must not be uploaded.
Only upload files whose names end exactly in `.tar`.

## Reconstruct on the destination machine

Choose the parent directory that should contain `prostatectomy/`:

```bash
DEST_PARENT=/path/to/cmr_surgical
mkdir -p "${DEST_PARENT}"

tar -xf prostatectomy_non_video.tar -C "${DEST_PARENT}"
for archive in prostatectomy_videos_chunk-*.tar; do
    tar -xf "${archive}" -C "${DEST_PARENT}"
done
```

This produces:

```text
${DEST_PARENT}/prostatectomy/
β”œβ”€β”€ README.md
β”œβ”€β”€ data/
β”œβ”€β”€ meta/
└── videos/
    β”œβ”€β”€ chunk-000/
    β”œβ”€β”€ chunk-001/
    └── ...
```

Parts may be extracted in any order. Extracting later batches into the same
`DEST_PARENT` adds the remaining chunks without changing existing chunks.

## Basic verification

Check an archive before extracting:

```bash
tar -tf prostatectomy_non_video.tar >/dev/null
tar -tf prostatectomy_videos_chunk-000.tar >/dev/null
```

After every batch has been extracted, the complete dataset should contain video
directories `chunk-000` through `chunk-010`.