>From memory, so there might be a typo or two 

Often gzip will reduce logfiles greatly in size. for that, all you need is: 

gzip -9 logfile.ext 

transfer: logfile.ext.gz 

on receiving end: 

gzip -d logfile.ext.gz 


Assuming you actually need to transfer in small chunks: 

split -10 logfile.ext logfilesplit 
for f in logfilesplit* ; do 
gzip -9 $f 
done 

transfer: logfilesplit*.gz 

On the receiving end: 

for f in logfilesplit*.gz ; do 
gzip -d $f 
done 

cat logfilesplit* > logfile.ext 

----- Original Message -----

From: "John Malloy" <[email protected]> 
To: [email protected] 
Sent: Tuesday, June 23, 2015 8:44:19 AM 
Subject: [Discuss] large log file transfer 

I have a log file (325MB) that I need to transfer from a restricted 
network, that I cannot plug a USB into. 

Is there an easy way to "split up" the log file into smaller chunks and Zip 
it to get it over the net? 

Thanks! 


John Malloy 
[email protected] 
_______________________________________________ 
Discuss mailing list 
[email protected] 
http://lists.blu.org/mailman/listinfo/discuss 

_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to