User Tools

Site Tools


copy_files_directories_preserving_mode_ownership_and_timestamps_across_machines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
copy_files_directories_preserving_mode_ownership_and_timestamps_across_machines [2017/01/03 10:22]
root
copy_files_directories_preserving_mode_ownership_and_timestamps_across_machines [2017/01/04 09:13] (current)
root
Line 7: Line 7:
 Likewise, using **sftp**:\\ Likewise, using **sftp**:\\
 \\ \\
-''​sftp> ​mget * ''​+''​sftp> ​get * ''​
 \\ \\
 will set the timestamp for all these files to "​now"​. will set the timestamp for all these files to "​now"​.
Line 13: Line 13:
 //but// //but//
 \\ \\
-''​sftp> ​mget -p * ''​+''​sftp> ​get -p * ''​
 \\ \\
 will preserve the timestamps of the source files. will preserve the timestamps of the source files.
copy_files_directories_preserving_mode_ownership_and_timestamps_across_machines.txt ยท Last modified: 2017/01/04 09:13 by root