News and events
- Popups with FancyBox Hello... today I'm gonna teach you how to show a popup with FancyBox. FancyBox is a tool to show images, html content and...
- Booking Calendar - Online booking plugin for Wordpress Browsing the web, I found this plugin to make online bookings. It's a plugin that allow us to add a form into our blog to make...
- Export a GridView to Word format with ASP.net Following our series of Export to... this time is the turn of Word format. (.doc). Still being really simple. We put the next...
Contact us
If you have any doubt or suggestion, you may contact us with the next form:
Cut and paste big files
created by Ernesto Traversaro - 09/02/2009
In this mini tutorial I will show you how to cut and paste big files on Linux. There are just 2 simple commands that will be very helpful to you, in case that you need to split any file, or to move it from one folder to another, or whatever you need to do.
Suppose we have a 1GB file, and we want to split it in 10 parts... well, first of all tip the next command:
The letter b divides the file in 512b parts, the letter k in files of 1k, and the letter m in files of 1 Mega
This commands create 10 parts named file_parts. Then we have to paste it with the next command:
Which creates a file called file_pasted.mpeg
Well, hope you find this helpful
Suppose we have a 1GB file, and we want to split it in 10 parts... well, first of all tip the next command:
split -b100m myfile.mpeg myfile_parts.@
The letter b divides the file in 512b parts, the letter k in files of 1k, and the letter m in files of 1 Mega
This commands create 10 parts named file_parts. Then we have to paste it with the next command:
cat archivo_pedazos.* > file_pasted.mpeg@
Which creates a file called file_pasted.mpeg
Well, hope you find this helpful

















![Validate my RSS feed [Valid RSS]](/img/valid-rss.png)
