Created
October 28, 2021 15:09
Copies each file in the passed directory to container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# docker cp test.txt pgadmin_container:/var/lib/pgadmin/storage/admin_admin.com/ | |
# change line 7 if more granularity is needed in the search pattern | |
for i in ${1}/* | |
do | |
docker cp $i pgadmin_container:/var/lib/pgadmin/storage/admin_admin.com/ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment