linux:shellcommands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:shellcommands [2016/11/11 04:12] – [find files in directory] admin | linux:shellcommands [2017/04/18 09:38] – [rsync] admin | ||
---|---|---|---|
Line 29: | Line 29: | ||
* convert unixtime< | * convert unixtime< | ||
date -d @1098181096 | date -d @1098181096 | ||
- | </ | + | </ |
+ | * sync time:< | ||
+ | ntpdate | ||
+ | </ | ||
===== file and directory commands ===== | ===== file and directory commands ===== | ||
==== dirname ==== | ==== dirname ==== | ||
Line 548: | Line 551: | ||
==== rsync ==== | ==== rsync ==== | ||
( rsync is a program that behaves in much the same way that rcp does, but has many more options and uses the rsync | ( rsync is a program that behaves in much the same way that rcp does, but has many more options and uses the rsync | ||
- | The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection, using an efficient checksum-search algorithm described in the technical report that accompanies | + | The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection, using an efficient checksum-search algorithm described in the technical report that accompanies |
+ | * rsync in local<code bash> | ||
rsync -avz | rsync -avz | ||
+ | </ | ||
+ | * rsync to remote host< | ||
+ | rsync -avz --exclude=" | ||
</ | </ | ||
==== rsync on windows ==== | ==== rsync on windows ==== |
linux/shellcommands.txt · Last modified: 2022/10/29 16:15 by 127.0.0.1