Article 5GQEH Packing and compressing directories to an archive in USB, but writing only N GB at once, then paused?

Packing and compressing directories to an archive in USB, but writing only N GB at once, then paused?

by
zimon
from LinuxQuestions.org on (#5GQEH)
So if one wants to archive large tree-structure and split it to eg. 60 GB files, one can do:
Code:tar cJf - /home/user/hugedir | split -b 60G - /mnt/usb64g/hugedir.tar.xz.But let's assume, the /mnt/usb64g is a NTFS/exFat usb stick of size 64 GB and the /home/user/hugedir is size 256 GB. Let's also assume, there is no enough space in local hard drives to do it there first and then transfer it part by part to 64 GB USB-stick, which is then used to copy file to an another PC.

The purpose is to transfer this hugedir to another machine by the 64 GB USB-stick, part by part. No network. (No fancy USB3.0 USBA - USBA cable, which I Googled could be possible but usually is not.)

Is there any more suitable program but tar+split which would have a pause between writing the chunks? Ideally split-program would have some --pause option, which when have written one chunk, would wait for user keypress before starting to write next one.

tar has -L option, but it not suitable when compression is used.latest?d=yIl2AUoC8zA latest?i=yiIieqEql2I:ntrn8lWKI9Y:F7zBnMy latest?i=yiIieqEql2I:ntrn8lWKI9Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=yiIieqEql2I:ntrn8lWKI9Y:gIN9vFwyiIieqEql2I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments