[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What do you use GNU Parallel for?
From: |
Ole Tange |
Subject: |
What do you use GNU Parallel for? |
Date: |
Wed, 16 Jul 2014 20:34:22 +0200 |
I am always looking for neat examples to use GNU Parallel for.
Today I had access to a Debian machine where all files in /usr/lib had
been replaced with zeros. So the file names were correct, but the
content was wrong.
So the solution is: Find the files, find which package provides the
file, reinstall those packages:
find /usr/lib -maxdepth 1 -type f -iname "*lib*" | parallel dpkg -S |
parallel --colsep : -uj1 apt-get install --reinstall {1}
Did you do anything neat with parallel?
/Ole
- What do you use GNU Parallel for?,
Ole Tange <=