[gpfsug-discuss] mmfind will not exec

John Hearns john.hearns at asml.com
Thu Feb 22 09:01:43 GMT 2018


Stupid me. The space between the {}  and \; is significant.
/usr/local/bin/mmfind /hpc/bscratch -type f -exec /bin/ls {} \;

Still would be nice to have the documentation clarified please.





From: gpfsug-discuss-bounces at spectrumscale.org [mailto:gpfsug-discuss-bounces at spectrumscale.org] On Behalf Of IBM Spectrum Scale
Sent: Thursday, February 22, 2018 2:26 AM
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Cc: gpfsug-discuss-bounces at spectrumscale.org
Subject: Re: [gpfsug-discuss] mmfind will not exec

Looking at the mmfind.README it indicates that it only supports the format you used with the semi-colon.  Did you capture any output of the problem?

Regards, The Spectrum Scale (GPFS) team

------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of  Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fforums%2Fhtml%2Fforum%3Fid%3D11111111-0000-0000-0000-000000000479&data=01%7C01%7Cjohn.hearns%40asml.com%7Ce691619b05ef45106cd008d579934e0f%7Caf73baa8f5944eb2a39d93e96cad61fc%7C1&sdata=bd0PN6hi0nMTKeXMcsvUVNOEtRF4PGaJ%2BIm97cQiNjc%3D&reserved=0>.

If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact  1-800-237-5511 in the United States or your local IBM Service Center in other countries.

The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.



From:        John Hearns <john.hearns at asml.com<mailto:john.hearns at asml.com>>
To:        gpfsug main discussion list <gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
Date:        02/21/2018 06:45 PM
Subject:        [gpfsug-discuss] mmfind will not exec
Sent by:        gpfsug-discuss-bounces at spectrumscale.org<mailto:gpfsug-discuss-bounces at spectrumscale.org>
________________________________



I would dearly like to use mmfind in a project I am working on  (version 4.2.3.4 at the moment)

mmfind /hpc/bscratch  -type f                  work fine

mmfind /hpc/bscratch  -type f -exec /bin/ls {}\ ;      crashes and burns

I know there are supposed to be problems with exec and mmfind, and this is sample software shipped without warranty etc.
But why let me waste hours on this when it won’t work?
There is even an example in the README for mmfind

./mmfind /encFS -type f -exec /bin/readMyFile {} \;
But in the help for mmfind:
-exec COMMANDs are terminated by a standalone ';' or by the string '{} +’

So which is it? The normal find version {} \;    or         {} +


-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. Neither the sender nor the company/group of companies he or she represents shall be liable for the proper and complete transmission of the information contained in this communication, or for any delay in its receipt. _______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=OC7XNZeulP0vmS8Fq-RJuun5wOqFPootm0QHxBXUfKg&s=LUvpk53AaNcHSGQgDgH8FAiOOsH1H0OPOV9MFGMIi9E&e=<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss%26d%3DDwICAg%26c%3Djf_iaSHvJObTbx-siA1ZOg%26r%3DIbxtjdkPAM2Sbon4Lbbi4w%26m%3DOC7XNZeulP0vmS8Fq-RJuun5wOqFPootm0QHxBXUfKg%26s%3DLUvpk53AaNcHSGQgDgH8FAiOOsH1H0OPOV9MFGMIi9E%26e%3D&data=01%7C01%7Cjohn.hearns%40asml.com%7Ce691619b05ef45106cd008d579934e0f%7Caf73baa8f5944eb2a39d93e96cad61fc%7C1&sdata=0IUImpBcheKWqRnVmiaZbyQeBYo535ytmbSzhukmkFI%3D&reserved=0>



-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. Neither the sender nor the company/group of companies he or she represents shall be liable for the proper and complete transmission of the information contained in this communication, or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20180222/503e12a2/attachment.htm>


More information about the gpfsug-discuss mailing list