Aller au contenu

Scripts

Copier un fichier sur le NAS:

scp -P42666 wsgi.py bruno@192.168.1.7:/var/services/homes/bruno/scripts/

scp -P42666 httpd_vhost.conf bruno@clicclac.synology.me:/var/services/homes/bruno/

Réception d'un fichier depuis le NAS:

scp -P42666 bruno@clicclac.synology.me:/var/services/homes/bruno/httpd-vhost.conf /Users/bruno/Desktop

wget: not an http or ftp url:

Sur le NAS, wget ne gère pas les URLs https. Il faut passer par curl.

curl -L -O https://github.com/go-gitea/gitea/releases/download/v1.11.4/gitea-1.11.4-linux-amd64

Dernière mise à jour: March 4, 2022