GNOME Bugzilla – Bug 421787
command options errors when startup gthumb
Last modified: 2007-03-23 12:08:40 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"
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
Never mind, those particular files never have whitespaces anyways. - Mike
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!