Timeline for How to only SCP the timestamp of files without copying the content of files?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 2, 2019 at 8:52 | vote | accept | Leon | ||
Feb 26, 2019 at 19:51 | comment | added | darnir |
As an answer suggests, you should consider rsync , it is the correct tool for this job. However, it may not always be easy to use it. If you want, you can use Wget2, the next version of Wget for your usecase. It is almost ready and supports threaded downloads.
|
|
Feb 26, 2019 at 18:31 | answer | added | Christoph Sommer | timeline score: 1 | |
Feb 26, 2019 at 17:38 | comment | added | Kamil Maciorowski | It takes some time. But if your connection to the VPS is slow compared to how fast the VPS can tar (and how fast your local machine can untar), It may not add that much overall. Another problem may be it needs additional disk space, at least temporarily. Only you can evaluate if this approach is useful for you. | |
Feb 26, 2019 at 17:32 | comment | added | Leon | thanks! But it is time-costly to tar large files? | |
Feb 26, 2019 at 17:18 | comment | added | Kamil Maciorowski | A workaround may be to archive the files on the remote side, so the timestamps are stored inside the resulting archive. Download it by any method and unpack. You may find this interesting: tar - How to preserve timestamps down to more than a second of precision? | |
Feb 26, 2019 at 17:05 | review | First posts | |||
Feb 26, 2019 at 17:11 | |||||
Feb 26, 2019 at 17:01 | history | asked | Leon | CC BY-SA 4.0 |