Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samvittighed
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
samvittighed
14y ago
If you use GNU Parallel instead of xargs, then you probably never need to make room in your brain for -print0. GNU Parallel separates on \n and deals correctly with files like: My brother's 12" records.ods
2.
▲
by
samvittighed
14y ago
With GNU Parallel it looks like this: parallel --nonall --slf RemoteHosts -j0 gzip -9 xxx/*.log If you have multple CPUs on your remote hosts and have GNU Parallel installed there: parallel --nonall --slf RemoteHosts -j0 --arg-se
3.
▲
by
samvittighed
14y ago
Watch the intro videos: https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1
4.
▲
by
samvittighed
14y ago
True. Unless you need some of the facilities in GNU Parallel that you do not find in xargs (such as --group which is default, running on remote machines, -L with -I, or --pipe for processing piped data).