7 lines
235 B
Bash
Executable File
7 lines
235 B
Bash
Executable File
#!/bin/bash
|
|
cd /docker
|
|
find . -maxdepth 3 -type f \
|
|
\( -name "*.yaml" -o -name "*.yml" -o -name "*.conf" -o -name "*.sh" \) \
|
|
-print0 2>/dev/null |
|
|
rsync -aR --files-from=- --from0 ./ /home/lucas/scripts/docker_compose/$(hostname)
|