in reply to Tar File To Web Browser
One nice thing about this is that this is incremental. Data starts streaming immediately without having to store all of the data in memory.my $cmd = "tar -T - -cvz -"; open (TAR, "| $cmd") or die "Cannot run '$cmd': $!"; print TAR map "$_\n", @files; close TAR;
|
|---|