Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Avoid creating targeted directory in the tar ? #1

@AlbinOS

Description

@AlbinOS

I just found your package and it is neat and simple like I love.

I have one issue while creating a tar for the directory 'somedir', I'm trying to create an archive of the form of :

somedir.tar/
..file1
..file2

But I get :

somedir.tar/
..somedir/
....file1
....file2

I trying to find a way to avoid this reading the code but I must say that its hard for me as I'm new to GO. Do you have any quick tips for doing so ?

Thanks a lot,
Albin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions