AQUAOSOTech / tarsplitter

A multithreaded tar utility. Archive huge numbers of files, or spilt massive tar archives into smaller chunks.
MIT License
32 stars 2 forks source link

Feature Request: Split by size #1

Open cs16lover opened 5 years ago

cs16lover commented 5 years ago

First of all thank you for such a great open source project.

I think it will be nice to have a splitting feature by file sizes.

For example; Split 1 TB tar file into 100 GB small tar files.

ruffrey commented 5 years ago

Thanks for the request! Is the goal to specify a "not larger than" size for each chunk? I could see it working like the following:

Example:

Input: 250 mb file Not larger than: 100 mb

Option 1

Output:

Option 2

Output:

Option 1 would be simplest to implement, I think.

cs16lover commented 5 years ago

Yes, exactly! "Not larger than" size option fits best. Because sometimes larger TAR files needs much more system resources to process on the fly.

cs16lover commented 5 years ago

Any updates?

ruffrey commented 5 years ago

Hey, we plan to do this, it is a useful suggestion, but likely not for another month.

cs16lover commented 5 years ago

Any updates?

ruffrey commented 5 years ago

Hi, thanks for bumping the thread. We don't have a timeline, but this is a useful feature we want to implement.