Updated
This commit is contained in:
28
sync.sh
Normal file
28
sync.sh
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
localFolder='/mnt/d/Sites/RadioPlayer/web/dist/.'
|
||||
remoteFolder='/opt/www/virtual/RadioPlayer/'
|
||||
remoteServer='klevze@server.klevze.si'
|
||||
|
||||
rsync -avz \
|
||||
--chmod=D755,F644 \
|
||||
--exclude ".phpintel/" \
|
||||
--exclude "bootstrap/cache/" \
|
||||
--exclude ".env" \
|
||||
--exclude "public/hot" \
|
||||
--exclude "public/files" \
|
||||
--exclude "node_modules" \
|
||||
--exclude "aritmija_devTemplate" \
|
||||
--exclude "web82/" \
|
||||
--exclude "storage/" \
|
||||
--exclude "oldSite/" \
|
||||
--exclude "vendor" \
|
||||
--exclude "resources/lang" \
|
||||
--exclude ".git/" \
|
||||
--exclude ".gemini" \
|
||||
--exclude ".github" \
|
||||
--exclude ".vscode" \
|
||||
-e ssh \
|
||||
$localFolder \
|
||||
$remoteServer:$remoteFolder/
|
||||
|
||||
Reference in New Issue
Block a user