Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] Deleting .svn directories
  • From: EGD <>
  • Date: Mon, 11 Jun 2012 16:16:26 +0400
  • Message-id: <2109657.NKl234VXxi@egd-pc>
On 11 июня 2012 07:54:21 Ciro Iriarte wrote:
Hi, I'm stuck with something that should be pretty simple, I'm trying
to delete .svn directories as part of the build process for a package,
"find" appears to find the directories but while trying to delete them
it gets "No such file or directory".

As this is reaaaaaally basic and is not working, is there any OBS
particularity that would cause this?.

Maybe you need write that

find . -name .svn -exec rm -rf {} \;


find . -name .svn -print0 | xargs -0 rm -rf

Friendly openSUSE Community
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups