04-03-2022
This commit is contained in:
@@ -2,27 +2,25 @@
|
||||
|
||||
|
||||
|
||||
#### Copier un fichier sur le NAS
|
||||
#### Copier un fichier sur le NAS:
|
||||
|
||||
```bash
|
||||
$ scp -P42666 wsgi.py bruno@192.168.1.7:/var/services/homes/bruno/scripts/
|
||||
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/
|
||||
scp -P42666 httpd_vhost.conf bruno@clicclac.synology.me:/var/services/homes/bruno/
|
||||
```
|
||||
|
||||
#### Réception d'un fichier depuis le NAS
|
||||
#### Réception d'un fichier depuis le NAS:
|
||||
|
||||
```bash
|
||||
$ scp -P42666 bruno@clicclac.synology.me:/var/services/homes/bruno/httpd-vhost.conf /Users/bruno/Desktop
|
||||
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 `curl`.
|
||||
Sur le NAS, `wget` ne gère pas les URLs https. Il faut passer par `curl`.
|
||||
|
||||
```bash
|
||||
$ curl -L -O https://github.com/go-gitea/gitea/releases/download/v1.11.4/gitea-1.11.4-linux-amd64
|
||||
curl -L -O https://github.com/go-gitea/gitea/releases/download/v1.11.4/gitea-1.11.4-linux-amd64
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user