Re: [gentoo-user] [OT] -print0 but with 'locate'

2016-09-03 Thread Meino . Cramer
Neil Bothwick [16-09-03 13:20]: > 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

Re: [gentoo-user] [OT] -print0 but with 'locate'

2016-09-03 Thread Alan Mackenzie
Hello, Meino. On Sat, Sep 03, 2016 at 11:52:46AM +0200, meino.cra...@gmx.de wrote: > Hi, > I want to 'locate' a bunch of files and feed the output into > '| xargs md5sum'. > Unfortunatexly some of them are infected with the "file name"-virus > (space in the filename). > With find there is the

Re: [gentoo-user] [OT] -print0 but with 'locate'

2016-09-03 Thread Neil Bothwick
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

Re: [gentoo-user] [OT] -print0 but with 'locate'

2016-09-03 Thread Alan McKinnon
On 03/09/2016 12:43, meino.cra...@gmx.de wrote: > Joerg Schilling [16-09-03 12:28]: >> wrote: >> >>> Hi, >>> >>> I want to 'locate' a bunch of files and feed the output into >>> '| xargs md5sum'. >>> Unfortunately some of them are

Re: [gentoo-user] [OT] -print0 but with 'locate'

2016-09-03 Thread Meino . Cramer
Joerg Schilling [16-09-03 12:28]: > wrote: > > > Hi, > > > > 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

Re: [gentoo-user] [OT] -print0 but with 'locate'

2016-09-03 Thread Joerg Schilling
wrote: > Hi, > > 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

[gentoo-user] [OT] -print0 but with 'locate'

2016-09-03 Thread Meino . Cramer
Hi, 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