good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
You have an error in your script - the command you're sending to the remote machine is not interpolated. You likely want:
Depending on how dire your error handling situation is, avoiding Perl might be the most convenient way to resolve your memory issues:
This will run the tar command remotely and output the created .tar.gz file directly to STDOUT, and on the local end will write the output directly into a file instead of buffering it locally in memory. You will need some error checking afterwards though. In reply to Re: Probelm getting a large compressed tar file over ssh.
by Corion
|
|