I need to transfer 80gb's of unsorted text documents from one computer to another and all I have is a 32gb USB. Is there an option to make rsync automatically pause when the USB is full without losing its place?Manually watching and pausing it is not an option.
Automatically pauseing rsync if target is full
linux;files;rsync;file transfer
I don't think you can do that just like this.You will have to be more creative and e.g. split manually.Fill USB stick with first 32G:tar czf - / | dd if=/dev/stdin of=/usbstick/bla bs=32k count=100k iflag=fullblockWrite the first 32G of the resulting tar to the destinationdd if=/usbstick/bla of=/tarfile bs=32k count=100kFill USB stick with next 32G:tar czf - / | dd if=/dev/stdin of=/usbstick/bla bs=32k count=100k iflag=fullblock skip=100kWrite the 32G-64G to the destination:dd if=/usbstick/bla of=/tarfile bs=32k count=100k seek=100kDo this (increment skip and seek by 100k each time) until the tar file on the destination is complete.Finally, extract the tartar -C /destination xzf /tarfileMan, I'd just connect a crossover cable.