find and remove ?

Eitan Adler lists at
Sun May 15 16:19:54 UTC 2011

> The comamnd:
> #find /path/to/start/deleting -type d -name _vti_\*
> worked fine to give the listing of what to delete, but when just adding the
> "-delete" at the end didn't delete, just ran the listing again.

I forgot that adding the -type d won't let it delete non-empty
directories. Try running it like:
find /path/to/start/deleting -name _vti_\* -delete

> (^_^)

Eitan Adler

More information about the freebsd-questions mailing list