AQUAOSOTech / tarsplitter

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

How to use it on Mac #4

Open ventouris opened 5 years ago

ventouris commented 5 years ago

I try to make it work in MacOS.

Steps I did

  1. I installed GoLang with brew install golang
  2. Run go tool compile tarsplitter_mac

Then I get those errors:

tarsplitter_mac:1:1: invalid UTF-8 encoding
tarsplitter_mac:1:5: invalid character U+0007
tarsplitter_mac:1:6: invalid NUL character
tarsplitter_mac:1:8: invalid character U+0001
tarsplitter_mac:1:9: invalid character U+0003
tarsplitter_mac:1:10: invalid NUL character
tarsplitter_mac:1:13: invalid character U+0002
tarsplitter_mac:1:14: invalid NUL character
tarsplitter_mac:2:1: invalid NUL character
tarsplitter_mac:2:4: syntax error: package statement must be first
tarsplitter_mac:2:4: too many errors

Any idea of how to proceed? I have a huge tar file (~700GB) and I want to split it so I can work with only a sample of it.

ruffrey commented 5 years ago

Hey @ventouris you can download a release: https://github.com/AQUAOSOTech/tarsplitter/releases

or if you want the latest, cd into the folder as before, but instead run: go build.