I
I
Ivan Budakov2021-12-22 22:17:42
PHP
Ivan Budakov, 2021-12-22 22:17:42

How to push to multiple directories at once?

I have several sites with CMS OpenCart, each of these sites has the same controllers/views/models, but is located in different directories. Is there a solution to push the changed file to all directories at the same time when I change the file locally?

the folders look like this (inside one FTP):
abakan.site.com
ekb.site.com
moscow.site.com
etc...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2021-12-22
@yarkov

This is a ~3 line task in bash. Have you already tried to solve something?

V
VVCh, 2022-01-10
@VVCh

softlink / symboliclink

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question