Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set options for writing archive. Set uid/gid lookup for reading disk. #72

Merged
merged 4 commits into from
Jun 10, 2018
Merged

Set options for writing archive. Set uid/gid lookup for reading disk. #72

merged 4 commits into from
Jun 10, 2018

Conversation

srandall52
Copy link
Contributor

@srandall52 srandall52 commented Jun 5, 2018

Closes #42.

import libarchive

with libarchive.fd_writer(1, 'mtree', options='!all,mode,gname,uname,type') as archive:
    archive.add_files('/home/vagrant/.config', lookup=True)

@Changaco Changaco merged commit 3894218 into Changaco:master Jun 10, 2018
@Changaco
Copy link
Owner

Thanks @srandall52.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants