After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 421787 - command options errors when startup gthumb
command options errors when startup gthumb
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.10.x
Other Solaris
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2007-03-23 08:04 UTC by jerry tan
Modified: 2007-03-23 12:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jerry tan 2007-03-23 08:04:51 UTC
when start gthumb , it will print some error messages on the console.find: bad option -mindepth
xargs: illegal options --0



because it call the below system command
"find $HOME/.gnome2/gthumb/remote_cache -mindepth 1 -type f -ctime +2 -print0 |
xargs -0 rm -rf"

-mindepth -print0 options doesnot work on solaris.
xargs doesnot accept "-0" opitions also.

suggest to change to "find $HOME/.gnome2/gthumb/remote_cache -type f -ctime +2 -print |xargs rm -rf"
Comment 1 Michael Chudobiak 2007-03-23 09:41:22 UTC
Thank you for the bug report. I'll look into that.

However, your suggested command (without -print0 and -0) will not correctly handle filenames with whitespace. Does Solaris offer a workaround for that?

- Mike
Comment 2 Michael Chudobiak 2007-03-23 11:58:34 UTC
Never mind, those particular files never have whitespaces anyways.

- Mike
Comment 3 Michael Chudobiak 2007-03-23 12:08:40 UTC
This problem has been fixed in the development version (svn rev 1511). The fix will be available in the next major software release (2.10.1). Thank you for your bug report!