halostatue / minitar

Minimal pure-ruby support for POSIX tar(1) archives.
Other
38 stars 27 forks source link

example of creating a tarfile of a entire directory #27

Closed kidbrax closed 6 years ago

kidbrax commented 6 years ago

I have been unable to create a tar file of a whole directory. Is there an example of doing so and outputting to a tarfile?

halostatue commented 6 years ago

minitar-cli does this.

kidbrax commented 6 years ago

Thank you, i was trying to avoid the command line though.

halostatue commented 6 years ago

…minitar-cli is a complete example of how to recursively tar a directory.

kidbrax commented 6 years ago

Oh, gotcha. Thought you were suggesting to use it. I'll dig deeper into it. thanks