Wednesday, March 16, 2011

Break up a large filename for transfer

Today I was trying to transfer a file from 1 server to another.  At first I thought the file was too large, so I set out to break up the file.

 

Credit goes to Techie Corner.

 

To Split the file:

split --bytes=500m /home/photosrandycc.tar.gz /home/bu

 

 

To Restore the file:

cat bu* > photosrandycc.tar.gz

 

Turns out the real issue was virtualmin actually set a 1GB quota.