long story short: i have a surface tablet with an sd card in it. id like the sd card to hold /nix. i cant seem to rsync without (im guessing the links are expanding) the bigger drive (sdcard) filling up. thank you
long story short: i have a surface tablet with an sd card in it. id like the sd card to hold /nix. i cant seem to rsync without (im guessing the links are expanding) the bigger drive (sdcard) filling up. thank you
2 Comments
difficult@sh.itjust.works · 5 pts · 143d
rsync has -H flag for preserving hardlinks
FauxLiving@lemmy.world · 4 pts · 143d
Probably rsync -aH would do just fine, but Nix has a tool for this.
https://nix.dev/manual/nix/2.18/command-ref/new-cli/nix3-copy
Their closest direct example is using SSH: