using_sshpass_with_rsync
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
using_sshpass_with_rsync [2016/08/24 19:04] – created walkeradmin | using_sshpass_with_rsync [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using SSHPASS with RSYNC ====== | ====== Using SSHPASS with RSYNC ====== | ||
- | \\ | + | <color darkorange> |
+ | |||
+ | ---- | ||
\\ | \\ | ||
One issue I am having with rsync is passwords. If I run my scripts with the normal user, then the sync does work, but while I get all the files, the folder permissions are lost.\\ | One issue I am having with rsync is passwords. If I run my scripts with the normal user, then the sync does work, but while I get all the files, the folder permissions are lost.\\ | ||
Line 16: | Line 19: | ||
No we can do the following: | No we can do the following: | ||
\\ | \\ | ||
- | sudo sshpass -p " | + | sudo sshpass -p " |
\\ | \\ | ||
\\ | \\ | ||
using_sshpass_with_rsync.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1