IT/Software/Command Line Applications/rsync
Access restrictions were established for this page. If you see this message, you have no access to this page.
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.
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