find and remove ?

Jack L. Stone jacks at sage-american.com
Sun May 15 16:08:10 UTC 2011


At 11:32 AM 5/15/2011 -0400, Eitan Adler wrote:
>> Thanks, Eitan, but it didn't delete. What did I do wrong?
>
>I would need to see what command you typed :-)
>Go to the top directory you start deleting from and type
>find . -name _vti_\*
>
>This will print out what it thinks should be deleted. If you don't see
>the directories you expect here then please be more specific about
>what should be deleted.
>If you do see the directories you expect and running the find command
>with "-delete" doesn't work then we could try and debug from that
>point.
>
>
>-- 
>Eitan Adler
>

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.

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american


More information about the freebsd-questions mailing list