diff --git a/pages.nl/linux/rcp.md b/pages.nl/linux/rcp.md new file mode 100644 index 000000000..7add50500 --- /dev/null +++ b/pages.nl/linux/rcp.md @@ -0,0 +1,21 @@ +# rcp + +> Kopieer bestanden tussen lokale en externe systemen. +> Het imiteert het gedrag van het `cp`-commando, maar werkt tussen verschillende machines. +> Meer informatie: . + +- Kopieer een bestand naar een externe host: + +`rcp {{pad/naar/local_file}} {{gebruikersnaam}}@{{remote_host}}:{{/pad/naar/bestemming/}}` + +- Kopieer een directory recursief: + +`rcp -r {{pad/naar/local_directory}} {{gebruikersnaam}}@{{remote_host}}:{{/pad/naar/bestemming/}}` + +- Behoud de bestandseigenschappen: + +`rcp -p {{pad/naar/local_file}} {{gebruikersnaam}}@{{remote_host}}:{{/pad/naar/bestemming/}}` + +- Forceer kopiƫren zonder bevestiging: + +`rcp -f {{pad/naar/local_file}} {{gebruikersnaam}}@{{remote_host}}:{{/pad/naar/bestemming/}}` diff --git a/pages/linux/rcp.md b/pages/linux/rcp.md index 2f8da27c2..4cefe9f73 100644 --- a/pages/linux/rcp.md +++ b/pages/linux/rcp.md @@ -6,16 +6,16 @@ - Copy a file to a remote host: -`rcp {{path/to/local_file}} {{username}}@{{remotehost}}:{{/path/to/destination/}}` +`rcp {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}` - Copy a directory recursively: -`rcp -r {{path/to/local_directory}} {{username}}@{{remotehost}}:{{/path/to/destination/}}` +`rcp -r {{path/to/local_directory}} {{username}}@{{remote_host}}:{{/path/to/destination/}}` - Preserve the file attributes: -`rcp -p {{path/to/local_file}} {{username}}@{{remotehost}}:{{/path/to/destination/}}` +`rcp -p {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}` - Force copy without a confirmation: -`rcp -f {{path/to/local_file}} {{username}}@{{remotehost}}:{{/path/to/destination/}}` +`rcp -f {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`