Social Icons

Showing posts with label CAT. Show all posts
Showing posts with label CAT. Show all posts

Wednesday, February 13, 2019

SPLIT LARGE FILES INTO SMALLER PARTS & MERGE : FOR EASY MIGRATION in LINUX SYSTEMS

1.    Routine troubleshooting in system handling gives us a way to explore and try new options.Recently tried a new way to migrate large files(around ~17 GB in my case here ). Although there are easier options available by simply copying in a external device,but in my case external devices were not allowed so attempted to split the large file into 3 GB size files and then finally could merge them....and could also verify the hash....and it was absolutely right...sharing few screen shots :

2.    The entire thing of splitting and merging gets over in simple two commands of SPLIT & CAT

 > split -b file.name
 > cat x* > file.name

3.   I have a .vdi virtual image file which is approx 16 GB in size.The file details are seen in the screen shot below :


Here ..before I go for the split...I have taken the hash of the same to compare it later after i merge the split parts...to check the originality of files and I get the hash of the file as bb867749cf4c0325abe145a0998e3b04

 

In the screen shot below I use the split command,which is inbuilt to UBUNTU and typically all Linux systems....I split the file in 3GB parts...

 

This screen shot shows the watch screen shot of the populating split parts...


 This screen shot shows the watch screen shot of the populating split parts...


 and here i get the final .vdi file as well m able to match the hash as same ie bb867749cf4c0325abe145a0998e3b04


Powered By Blogger