Sync sites folder
1
sudo rsync -a --delete xxx/ /var/www/xxx
How to find all files containing a specific text (string) on Linux?
1
grep -Rnw '/path/to/somewhere/' -e 'pattern'
1
sudo rsync -a --delete xxx/ /var/www/xxx
1
grep -Rnw '/path/to/somewhere/' -e 'pattern'