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

how to copy a directory? #32

Open
hewson99 opened this issue Sep 10, 2021 · 1 comment
Open

how to copy a directory? #32

hewson99 opened this issue Sep 10, 2021 · 1 comment

Comments

@hewson99
Copy link

pbgopy copy < dirname
this doesn't work

@nakabonne
Copy link
Owner

@heweicong Hey, sorry for the delay

You can do that by compressing as mentioned #22 (comment)

tar -zcvf dir1.tar.gz dir1
pbgopy copy <dir1.tar.gz

Then decompress it with:

pbgopy paste >dir1.tar.gz
tar -zxvf dir1.tar.gz

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

No branches or pull requests

2 participants