000026471 - How to use the Linux split command to split large files on an RSA NetWitness appliance for upload to a Support case

Document created by RSA Customer Support Employee on Jan 10, 2017Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000026471
Applies ToRSA NetWitness NextGen
RSA NetWitness NextGen 9.5 and above
IssueHow to use the Linux split command to split large files on an RSA NetWitness appliance for upload to a Support case.
Resolution

You can use the Liunx split command to split this large file into multiple smaller files in the same directory so you can upload these smaller files to your case directly:

 split --bytes=25m large_file large_file_

 The command shown above will split a large file named large_file into multiple files 25mb or smaller files named large_file_aa, large_file_ab, large_file_ac ...in the same directory as large_file. You can then upload these smaller large_file_a* files into your support cases directly. 

 Please use the following command to remove these temp files after you uploaded them to your case.

rm -rf large_file_a*

Notes

Example:

 You run the technical support script on a decoder and create a tech dump file named nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2 which is 40mb in size.

The following split command will split this file into two 25mb or smaller files named nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2_aa and nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2_ab in the same directory:

 split --bytes=25m nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2 nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2_

 The following split command will split this file into eight 5mb files named: nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2_a[a,b,c,d,e,f,g] in the same directory:

 split --bytes=5m nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2 nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2_

 You can now upload these smaller component filenwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2_* directly into your support case. 

 Please use the following command to remove these temp files after you uploaded them to your case.

rm -rf nwtech-D-Decoder-2012.07.12-09.52.46.tar.bz2_a*

Legacy Article IDa59813

Attachments

    Outcomes