/ Published in: Makefile

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
### ### ## Synchronize arthur with local copy ## ### ### all: @echo "Synchronize arthur with backup on sirius" @echo "Type:" @echo " make sync - synchronize" @echo " make put - put the local files to arthur" @echo " make get - get files from arthur" get: @echo -e "\033[01;01mGetting data from arthur...\033[01;00m" @rsync -avuzbP --rsh=ssh --exclude '*~' 192.168.1.6:/home/brcha/ ./ @echo -e "\033[01;01mGetting data from arthur... \033[01;32mdone\033[01;00m" put: @echo -e "\033[01;01mPutting data to arthur... \033[01;00m" @rsync -Cavuzb --no-group --rsh=ssh --exclude '*~' ./ 192.168.1.6:/home/brcha/ @echo -e "\033[01;01mPutting data to arthur... \033[01;32mdone\033[01;00m" sync: get put
Comments
