Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] Deleting .svn directories
  • From: Ciro Iriarte <cyruspy@xxxxxxxxx>
  • Date: Mon, 11 Jun 2012 13:38:58 -0400
  • Message-id: <CAEaLa5E=PnHsLRzz0T3jprB8CZ6_CTKfYdFUGq8fu71Jcb4LKA@mail.gmail.com>
2012/6/11 Roger Oberholtzer <roger@xxxxxx>:

IMO your command
find . -name .svn -exec rm -rf '{}' ';'

find . -name .svn -delete

This also enables the -depth option, which deleted the directory
contents before the directory. Perhaps that helps?



Yours sincerely,

Roger Oberholtzer

OPQ Systems / Ramböll RST

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se

Tried your suggestion, it doesn't fail with "No such file" but it gives me:

find: cannot delete `./solaris/etc/.svn': Directory not empty
find: cannot delete `./solaris/.svn': Directory not empty

In theory, -delete implies -depth also.

Regards,

--
Ciro Iriarte
http://cyruspy.wordpress.com
--
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >