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

handle files of any path #22

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

Guiorgy
Copy link
Contributor

@Guiorgy Guiorgy commented Feb 8, 2024

$ ./vackup export mosquitto_config mosquitto_config.tar.gz
mosquitto_config
./
./mosquitto.conf
Successfully tar'ed volume mosquitto_config into file 'mosquitto_config.tar.gz'
$ ls
mosquitto_config.tar.gz  vackup
$ mkdir test1
$ ./vackup export mosquitto_config test1/mosquitto_config.tar.gz
mosquitto_config
./
./mosquitto.conf
Successfully tar'ed volume mosquitto_config into file 'mosquitto_config.tar.gz'
$ ls test1/
mosquitto_config.tar.gz
$ mkdir test2
$ ./vackup export mosquitto_config ./test2/mosquitto_config.tar.gz
mosquitto_config
./
./mosquitto.conf
Successfully tar'ed volume mosquitto_config into file 'mosquitto_config.tar.gz'
$ ls test2
mosquitto_config.tar.gz
$ mkdir test3
$ ./vackup export mosquitto_config /home/user/directory/test3/mosquitto_config.tar.gz
mosquitto_config
./
./mosquitto.conf
Successfully tar'ed volume mosquitto_config into file 'mosquitto_config.tar.gz'
$ ls test3
mosquitto_config.tar.gz
$ ./vackup export mosquitto_config /home/user/mosquitto_config.tar.gz
mosquitto_config
./
./mosquitto.conf
Successfully tar'ed volume mosquitto_config into file 'mosquitto_config.tar.gz'
$ ls
[...] mosquitto_config.tar.gz

@BretFisher
Copy link
Owner

Hey @Guiorgy, if you can fix merge conflicts, I'll accept. Thanks for the help!

@Guiorgy
Copy link
Contributor Author

Guiorgy commented Nov 1, 2024

@BretFisher Should I also deal with the linter errors?

@BretFisher BretFisher merged commit 2a8a731 into BretFisher:main Nov 1, 2024
1 check failed
@BretFisher
Copy link
Owner

looks great, merged!

@Guiorgy Guiorgy deleted the handle-files-of-any-path branch November 1, 2024 19:55
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