IT/Software/Command Line Applications/rsync: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) (Added the page and details) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== General === | ===General=== | ||
=== Options === | ===Options=== | ||
These are things you can add to rsync to make it do different things for you. | These are things you can add to rsync to make it do different things for you. | ||
We will not attempt to explain all of them. Only the ones that we use and find useful. | We will not attempt to explain all of them. Only the ones that we use and find useful. | ||
For more info type | |||
<code>man rsync</code> | |||
in the konsole | |||
====Details==== | |||
= | *-v verbose: will give you some information | ||
*--progress will show you the progress of each file | |||
*--info=progress2 will show you the progress of the whole job. Much more useful. | |||
====Transfer method==== | |||
*-e will let you specify the transfer protocol | |||
**You need to follow with the protocol you want | |||
**We often use '''-e ssh''' to use the secure shell protocol | |||
* --exclude= will let you skip some files | ====Exclude==== | ||
** There are many ways to do this and you can read up on them | |||
** We often --exclude=*.iso for example to skip all the iso files | *--exclude= will let you skip some files | ||
** Unless you put the files or details in a list text file you will need an exclude statement for each file type | **There are many ways to do this and you can read up on them | ||
**We often --exclude=*.iso for example to skip all the iso files | |||
**Unless you put the files or details in a list text file you will need an exclude statement for each file type |
Latest revision as of 10:07, 22 September 2020
General
Options
These are things you can add to rsync to make it do different things for you.
We will not attempt to explain all of them. Only the ones that we use and find useful.
For more info type
man rsync
in the konsole
Details
- -v verbose: will give you some information
- --progress will show you the progress of each file
- --info=progress2 will show you the progress of the whole job. Much more useful.
Transfer method
- -e will let you specify the transfer protocol
- You need to follow with the protocol you want
- We often use -e ssh to use the secure shell protocol
Exclude
- --exclude= will let you skip some files
- There are many ways to do this and you can read up on them
- We often --exclude=*.iso for example to skip all the iso files
- Unless you put the files or details in a list text file you will need an exclude statement for each file type