Questions about working with tar files in storage buckets

For example, I have a tar file with many small files inside it. Let's say this tar file is 1GB in size. I know it's possible to upload it in parts (100MB each) using rclone.

Is it also possible to download it in parts?

Can I access the content of the tar file before the entire download is complete?

Is it possible to download only the part of the tar file that contains a specific file?

Or an even better question. Can I delete a file inside a tar without having to download the entire tar file?

rclone is not aware of tar file format - it treats it as any other file. Using rclone commands you will operate on all file.

But if you have tar program which only reads required tar file fragments then you can benefit from using rclone mount with full caching mode which supports chunked reads. Only requested file fragments will be downloaded and cached locally.

Run:

rclone mount remote: /path/to/mountpoint --vfs-cache-mode full

Have a look at chunked reading docs if you would like to tweak this aspect of mount behaviour.

As for:

I think you meant upload. And answer is no.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.