BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] large log file transfer
- Subject: [Discuss] large log file transfer
- From: j.natowitz at rcn.com (Jerry Natowitz)
- Date: Tue, 23 Jun 2015 09:04:06 -0400 (EDT)
- In-reply-to: <CAM9bQ=jp6hNh5Nd7NWmQM48rWb6c5TyGnbphM5U-oKz2q+WCHQ@mail.gmail.com>
>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" <jomalloy at gmail.com> To: discuss at blu.org 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 jomalloy at gmail.com _______________________________________________ Discuss mailing list Discuss at blu.org http://lists.blu.org/mailman/listinfo/discuss
- References:
- [Discuss] large log file transfer
- From: jomalloy at gmail.com (John Malloy)
- [Discuss] large log file transfer
- Prev by Date: [Discuss] A laptop for Linux
- Next by Date: [Discuss] large log file transfer
- Previous by thread: [Discuss] large log file transfer
- Next by thread: [Discuss] large log file transfer
- Index(es):