rsync

I read the article on SCP because I was looking for a tool I used in the past - which ended up being rsync. I am going to read the wikipedia article on rsync to hopefully improve my ability to transfer files between a client and remote server.

Date Created:

References



Notes


rsync (remote sync) is a utility for transferring and synchronizing files between a computer and a storage drive across networked computers by comparing the modification times and sizes of files.
  • Commonly found in Unix operating systems
  • Written in C as a single threaded application
  • Typically used for synchronizing files and directories between two file systems
$ rsync local-file user@remote-host:remote-file 
  • When the above is run,
    • rsync will use SSH to connect as user to remote-host
    • It will then invoke the remote host's rsync and then the two programs will determine what parts of the local file need to be transferred so that the remote file matches the local one
$ rsync [OPTION] ... SRC [HOST@]HOST:DEST
$ rsync [OPTION] ... [USER@]HOST:SRC [DEST]

where SRC is the file or directory to copy from, DEST is the file or directory to copy to, and square brackets indicate optional parameters.


Insert Math Markup

ESC
About Inserting Math Content
Display Style:

Embed News Content

ESC
About Embedding News Content

Embed Youtube Video

ESC
Embedding Youtube Videos

Embed TikTok Video

ESC
Embedding TikTok Videos

Embed X Post

ESC
Embedding X Posts

Embed Instagram Post

ESC
Embedding Instagram Posts

Insert Details Element

ESC

Example Output:

Summary Title
You will be able to insert content here after confirming the title of the <details> element.

Insert Table

ESC
Customization
Align:
Preview:

Insert Horizontal Rule

#000000

Preview:


Insert Chart

ESC

View Content At Different Sizes

ESC

Edit Style of Block Nodes

ESC

Edit the background color, default text color, margin, padding, and border of block nodes. Editable block nodes include paragraphs, headers, and lists.

#ffffff
#000000

Edit Selected Cells

Change the background color, vertical align, and borders of the cells in the current selection.

#ffffff
Vertical Align:
Border
#000000
Border Style:

Edit Table

ESC
Customization:
Align:

Upload Lexical State

ESC

Upload a .lexical file. If the file type matches the type of the current editor, then a preview will be shown below the file input.

Upload 3D Object

ESC

Upload Jupyter Notebook

ESC

Upload a Jupyter notebook and embed the resulting HTML in the text editor.

Insert Custom HTML

ESC

Edit Image Background Color

ESC
#ffffff

Insert Columns Layout

ESC
Column Type:

Select Code Language

ESC
Select Coding Language