You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
577 B
13 lines
577 B
#!/bin/bash |
|
# to copy the entire lfs compiled filesystem to an old system by ssh |
|
# generate a key as root on the compilation host |
|
# scp the public key as authorized_keys on target root account |
|
# enable pubkey root in sshd target |
|
# |
|
# primary use case : |
|
# compile lfs in a vm on a recent computer |
|
# copy it on an old computer with : |
|
# - limited ressource (netbook like eeepc, very old computer like pentium3) |
|
# - limited write capacity (like sdcard as hard disk) |
|
# |
|
rsync -avzp --exclude=sources/linux-7.0.10/ --exclude=tmp/* --delete-during /mnt/lfsdev/* 192.168.0.239:/mnt/lfs/
|
|
|