# Copying files within a a package folder

**URL:** https://discourse.julialang.org/t/copying-files-within-a-a-package-folder/42593
**Category:** General Usage
**Tags:** question, package
**Created:** [July 6, 2020, 7:38am UTC](https://discourse.julialang.org/t/copying-files-within-a-a-package-folder/42593 "2020-07-06T07:38:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Azzaare](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/azzaare/32/21008_2.png) [@Azzaare](https://discourse.julialang.org/u/Azzaare)
#### Post date: [July 6, 2020, 7:38am UTC](https://discourse.julialang.org/t/copying-files-within-a-a-package-folder/42593/1 "2020-07-06T07:38:57Z")

</div>

Hello there,

Within a package that I am developing now, I have a folder of assets that I would like to copy to the working directory of the user.

Is there a way to access the path of a specific package (in used in the current env)?

Something along

```julia
Pkg.path("MyPackage")
> "/some/path/MyPackage"

```

---

<div class="post-metadata">

### Author: ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)
#### Post date: [July 6, 2020, 7:47am UTC](https://discourse.julialang.org/t/copying-files-within-a-a-package-folder/42593/2 "2020-07-06T07:47:54Z")

</div>

It’s

```julia
julia> pathof(MyPackage)

```

This gives you the full path to MyPackage.jl.  
You can go down the path with

```julia
julia> dirname(pathof(MyPackage))

```
