|
Download prostatectomy/TRANSFER_README.md from WinterPan/FileTransfer: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/datasets/WinterPan/FileTransfer/resolve/main/prostatectomy/TRANSFER_README.md
- Command line
-
hf download hf://datasets/WinterPan/FileTransfer/prostatectomy/TRANSFER_README.md
-
curl -L -o TRANSFER_README.md https://huggingface.co/datasets/WinterPan/FileTransfer/resolve/main/prostatectomy/TRANSFER_README.md
1.93 kB
| # 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`. | |