On Sat, 3 Sep 2016 11:52:46 +0200, meino.cra...@gmx.de wrote:

> I want to 'locate' a bunch of files and feed the output into 
> '| xargs md5sum'.  
> Unfortunately some of them are infected with the "file name"-virus
> (space in the filename).
> With find there is the -print0 option which corresponds to '-0' of
> the xargs options. As of my knowledge, locate does not have such 
> a thing.

it does

locate -0 blah | xargs md5sum -0


-- 
Neil Bothwick

I heard someone tried the monkeys-on-typewriters bit trying for the plays
of W. Shakespeare but all they got was the collected works of Francis
Bacon

Attachment: pgpDWGtzYkCws.pgp
Description: OpenPGP digital signature

Reply via email to