1 |
Joerg Schilling <Joerg.Schilling@××××××××××××××××.de> [16-09-03 12:28]: |
2 |
> <Meino.Cramer@×××.de> wrote: |
3 |
> |
4 |
> > Hi, |
5 |
> > |
6 |
> > I want to 'locate' a bunch of files and feed the output into |
7 |
> > '| xargs md5sum'. |
8 |
> > Unfortunately some of them are infected with the "file name"-virus |
9 |
> > (space in the filename). |
10 |
> > With find there is the -print0 option which corresponds to '-0' of |
11 |
> > the xargs options. As of my knowledge, locate does not have such |
12 |
> > a thing. |
13 |
> |
14 |
> This is one of the reasons, why POSIX did not include -print0, as it would need |
15 |
> to add new related options to an unknown amount of other programs. |
16 |
> |
17 |
> Another reason of curse is that "find . -exec cmd {} +" exists longer than GNU |
18 |
> find and it's -print0. Execplus was added on 1989 by David Korn. |
19 |
> |
20 |
> Jörg |
21 |
> |
22 |
> -- |
23 |
> EMail:joerg@××××××.net (home) Jörg Schilling D-13353 Berlin |
24 |
> joerg.schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/ |
25 |
> URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/' |
26 |
> |
27 |
|
28 |
|
29 |
...and how does it solve my problem? |