acd_cli icon indicating copy to clipboard operation
acd_cli copied to clipboard

Splitting large files into chunks

Open manwe-pl opened this issue 8 years ago • 3 comments

Just a wild thought. If files >10GB are problematic, and >50GB are impossible to upload, maybe acd_cli could split them into 8GB chunks? So for example file movie.mkv (30GB) could be sliced into ##part000##movie.mkv up to ##part003##movie.mkv. Of course in fuse those files would be visible as one. Finding the offset and proper part is quite easy. If parts are 8GB in size (8,589,934,592 bytes) and we want for example byte number 10,000,000,000, part number is 10000000000 // 8589934592 = 1, position in that part is 10000000000 % 8589934592 = 1410065408.

I think there are people (including me) that would consider a donation/bounty for such feature :)

manwe-pl avatar Feb 17 '17 12:02 manwe-pl

But, theorically, that will make that files difficult to use in computers that doesn't make use of acd_cli for syncing, doesn't it?

I'm noy saying it is a bad idea, but if done, maybe it should be configurable 😄

odarriba avatar Feb 18 '17 10:02 odarriba

There's nothing wrong with it being an option.

manwe-pl avatar Feb 18 '17 10:02 manwe-pl

Have a look at duplicity if this is a concern; it may be more straightforward to layer a chunking system over top of acdcli than to build it in.

bgemmill avatar Feb 18 '17 18:02 bgemmill