Saya pernah mengalami ingin memindahkan file yang besar ke pc lain. Tapi tanpa ada koneksi jaringan, sementara kapasitas removable disk saya terbatas. Ya akhirnya saya harus split file tersebut, agar bisa muat di removable disk saya.

Di linux sudah tersedia perintahnya, yaitu menggunakan split juga. Misal

# ls -la filesaya.iso
-rw-r–r– 1 root root 18835725 2009-11-23 11:07 filesaya.iso

Lalu saya ingin men-split-nya, disini saya mensplit masing-masing file 4Mb :

# split -b4000000 filesaya.iso
# ls -la
-rw-r–r– 1 root root 18835725 2009-11-23 11:07 testfile.iso
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xaa
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xab
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xac
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xad
-rw-r–r– 1 root root 2835725 2009-11-23 12:27 xae

Nah, tinggal menyatukannya lagi dengan menggunakan perintah cat seperti ini :

# cat xaa xab xac xad xae > newfile.iso
# ls -la
-rwxr-xr-x 1 root root 18835725 2009-11-23 12:35 newfile.iso
-rwxr-xr-x 1 root root 18835725 2009-11-23 11:07 filesaya.iso
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xaa
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xab
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xac
-rw-r–r– 1 root root 4000000 2009-11-23 12:27 xad
-rw-r–r– 1 root root 2835725 2009-11-23 12:27 xae

Tulisan Lain   Install Save for Web Plugin Gimp

By alfach

Leave a Reply

Your email address will not be published. Required fields are marked *