Archive

Posts Tagged ‘xargs’

Using xargs to parallelize and speed up jobs.

December 8th, 2009 No comments

Often we look for new way to boost up our work, so we write a lot of code to perform jobs at high speed.
Sometimes the right way is the old way, specially if we need to do repetitive jobs. To do this kind of jobs we can use the xargs command, this command used in pipe with other commands can automate our jobs.
For example if we want to remove all C files from a directory and from all subdirectory recursively we can do the following:

How to fix Ubuntu Hardy’s xargs bug: Assertion ‘bc_ctl.arg_max <= (131072-2048)’ failed.

December 23rd, 2008 No comments

In Ubuntu/Hardy you could have this error using xargs, this error is due to the findutils package. To solve this problem you could take the package from the Ubuntu release Intrepid.

Open (as root) the /etc/apt/sources.list file with your preferred editor

# sudo gedit /etc/apt/sources.list

Categories: Bugs Tags: , , , , , ,
Statistical data collected by Statpress SEOlution (blogcraft).