Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation/make issues #2

Open
ecjb1969 opened this issue Apr 12, 2019 · 2 comments
Open

Documentation/make issues #2

ecjb1969 opened this issue Apr 12, 2019 · 2 comments

Comments

@ecjb1969
Copy link

ecjb1969 commented Apr 12, 2019

  1. The documentation assumes the user knows this is written in GO and must have the GO compiler installed and configured.

  2. Also, the Makefile has no install section, and does not appear to detect the system running on so compiles Mac, Linux, and Windows versions. The user then has to manually copy the relevant "tarsplitter*" file to somewhere on there path and possibly rename it. For example, I did:
    cp build/tarsplitter_mac /usr/local/bin/tarsplitter

  3. Finally, the docs do not state what the -m (mode?) switch does. The -m switch appears to be required and is either -m archive or -m split, to create a new archive or to split an existing archive, respectively. Can the modes be combined to create a split archive?

I'm currently copying my huge tar archive to run this against, but otherwise awesome job on this tool. It looks to be exactly what I'm looking for. I also like that it's multithreaded, although that is unclear if it is multithreaded for splitting or only for creating.

@ruffrey
Copy link
Member

ruffrey commented Apr 12, 2019

Thanks for the feedback and the request @ecjb1969 - we're happy to accept pull requests in the meantime, too :)

@ecjb1969
Copy link
Author

Thanks for the feedback and the request @ecjb1969 - we're happy to accept pull requests in the meantime, too :)

Unfortunately, I'm quite the noob when it comes to programming and creating packages. Eg, I've never written a Makefile. I do some scripting in bash, Python, and other languages as needed to complete tasks, but I'm not a programmer. I thought it was neat how XCode was able to open and format the README.md.

Oh - tarsplitter worked as expected. Some of the files were still very large (probably containing ISO images and the like). I told tarsplitter to split my 1.7TB tar into 400 pieces and it split into about 85 with some very large files. I think I have some raw dd images in there which would explain the huge sizes.

Thank you for an awesome program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants