|
| From: | Ralf Wildenhues |
| Subject: | Re: Threaded versions of cp, mv, ls for high latency / parallel filesystems? |
| Date: | Thu, 13 Nov 2008 12:52:44 +0000 (UTC) |
| User-agent: | Loom/3.14 (http://gmane.org/) |
Hello Andrew,
Andrew McGill <list2008 <at> lunch.za.net> writes:
>
> Â Â find -type f -print0 |
> Â Â Â Â Â Â Â Â xargs -0 -n 8 --max-procs=16 md5sum >& ~/md5sums
>
> Â Â sort -k2 < md5sums > md5sums.sorted
To avoid losing output, use append mode for writing:
: > ~/md5sums
find -type f -print0 |
xargs -0 -n 8 --max-procs=16 md5sum >> ~/md5sums 2>&1
sort -k2 < md5sums > md5sums.sorted
This just recently came up in Autoconf:
<http://thread.gmane.org/gmane.comp.shells.bash.bugs/11958>
Cheers,
Ralf
| [Prev in Thread] | Current Thread | [Next in Thread] |