# Is there a Julia command that is the equivalent of \`tar\` on linux?

**URL:** https://discourse.julialang.org/t/is-there-a-julia-command-that-is-the-equivalent-of-tar-on-linux/28747
**Category:** New to Julia
**Created:** [September 14, 2019, 1:32am UTC](https://discourse.julialang.org/t/is-there-a-julia-command-that-is-the-equivalent-of-tar-on-linux/28747 "2019-09-14T01:32:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [September 14, 2019, 1:32am UTC](https://discourse.julialang.org/t/is-there-a-julia-command-that-is-the-equivalent-of-tar-on-linux/28747/1 "2019-09-14T01:32:07Z")

</div>

I have alot of small files and I want to group them into one file. I know `tar` does it. But I need to support Windows. Is there a Julia function that does the same as `tar`? And can un`tar` a file?

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [September 14, 2019, 1:58am UTC](https://discourse.julialang.org/t/is-there-a-julia-command-that-is-the-equivalent-of-tar-on-linux/28747/2 "2019-09-14T01:58:39Z")

</div>

> [@xiaodai](#):
>
> I have a lot of small files and I want to group them into one file. I know `tar` does it. But I need to support Windows. Is there a Julia function that does the same as `tar` ? And can un `tar` a file?

You can use [ZipFile.jl](https://github.com/fhs/ZipFile.jl) to create `.zip` archives, with or without compression. (There are also lots of alternatives to using lots of small files for storing collections of data.)
