[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: removing missing files/directories?

From: John C. Fowler <jcfowler_at_pacbell.net>
Date: 2005-07-15 04:43:59 CEST

Keep in mind... if there is a space in the file name some of these
scripts will fail.

Dale Worley wrote:

>>From: Julien ALLANOS [mailto:julien.allanos@aql.fr]
>>
>>
>
>
>
>>Is there a simple way to remove missing files/directories
>>(those marked ! in svn
>>st) all in once? At the moment I have to copy/paste files
>>names to svn remove,
>>and I didn't see any option in svn remove to do this.
>>
>>
>
>It seems like a simple shell scripting problem:
>
> svn rm $( svn status ... | sed -e '/^!/!d' -e 's/^!//' )
>
>Dale
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
Received on Fri Jul 15 04:45:45 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.