Unlock ssh key at start of script
This commit is contained in:
parent
67e2614c36
commit
e6d8f5ac51
@ -8,6 +8,9 @@ sshkeypath=$HOME/.ssh/id_ed25519
|
|||||||
# NOTE don't transfer to the storage box directly, leads to mangled file names
|
# NOTE don't transfer to the storage box directly, leads to mangled file names
|
||||||
# see: https://serverfault.com/a/765951
|
# see: https://serverfault.com/a/765951
|
||||||
|
|
||||||
|
# unlock ssh key
|
||||||
|
ssh-add "$sshkeypath"
|
||||||
|
|
||||||
# transfer to nas
|
# transfer to nas
|
||||||
rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
|
rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user