pacman -S arch-install-scripts btrfs subvol create /var/lib/container/archlinux-base mkdir /etc/systemd/nspawn pacstrap /var/lib/container/archlinux-base base base-devel systemctl enable --now systemd-networkd systemd-resolved systemd-nspawn -nD /var/lib/machines/archlinux-nextcloudcli --template=/var/lib/container/archlinux-base systemctl start systemd-nspawn@archlinux-nextcloudcli machinectl shell root@archlinux-nextcloudcli /bin/bash -c "systemctl enable --now systemd-networkd systemd-resolved" machinectl shell root@archlinux-nextcloudcli useradd -m test passwd test vim /etc/sudoers # add user test su test cd curl "https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz" | tar xz -C . curl "https://aur.archlinux.org/cgit/aur.git/snapshot/pacaur.tar.gz" | tar xz -C . cd cower makepkg -si --skipinteg cd ../pacaur makepkg -si pacaur -S nextcloud-client rclone dropbox-cli
su test cd wget https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.7p1.tar.gz wget https://github.com/mobile-shell/mosh/archive/mosh-1.3.2.tar.gz tar -xvf openssh-7.7p1.tar.gz -C sync tar -xvf mosh-1.3.2.tar.gz -C sync_remote du -hs sync/openssh-7.7p1 sync_remote/mosh-mosh-1.3.2 # 8.3M sync/openssh-7.7p1 # 1.3M sync_remote/mosh-mosh-1.3.2 find sync/openssh-7.7p1 sync_remote/mosh-mosh-1.3.2 | wc -l # 972 nextcloudcmd -h -n -u test -p test123 sync_remote https://nextcloud.project-insanity.org/remote.php/webdav/
time nextcloudcmd -h -n -u test -p test123 /home/test/sync https://nextcloud.project-insanity.org/remote.php/webdav/
4m36.508s
time nextcloudcmd -h -n -u test -p test123 /home/test/sync https://nextcloud.project-insanity.org/remote.php/webdav/
real 7m44.892s