20 Ekim 2010 Çarşamba

Split files with tar

Just type the following in a console window:

Code:

tar cvzf - filename.iso | split -d -b 700m - filename.iso.tar.gz.

This wil produce the following files:

filename.iso.tar.gz.1

filename.iso.tar.gz.2

filename.iso.tar.gz.3

...

Then later if you want to restore the iso, first copy all te parts in one directory, and then type

Code:

cat filename.iso.tar.gz.* | tar xvzf -

That will give you back your original ISO.

Hiç yorum yok:

Yorum Gönder