Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Manpage on openbsd #40

Closed
via opened this Issue Feb 28, 2012 · 1 comment

Comments

Projects
None yet
2 participants

via commented Feb 28, 2012

I don't know if this is something you'll want to change upstream, but the BSD version of find doesn't support the -delete option. In the thumbnail caching section in the manpage, for it to work, the appropriate command would look something like find . -type d -empty -print0 | xargs -0 rmdir.

Correction: the above doesn't have the same results. This should do it correctly:
find . -depth -type d -empty ! -name '.' -exec rmdir {} ;

I know its a bit uglier. I have it patched in the openbsd port that way.

Owner

muennich commented Mar 2, 2012

I've added your command line to the man page. Thanks.

@muennich muennich closed this Mar 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment