Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5979243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:37:55+00:00 2026-05-22T21:37:55+00:00

Im using SVN for the first time, so probably this is a basic question.

  • 0

Im using SVN for the first time, so probably this is a basic question.

The app im using under svn, the problem is that one task of the application is to add/remove folders/files automatically; When i commit, i want to update the repository with the current folder tree.

I saw how to add all created files/folder, with svn add -f myapp/*, but i get an error if i delete a folder that was already in the repository: svn: Directory '/myapp/folder' is missing.

How can I tell SVN to remove missing folder/files from repo during commit?

I know svn has the remove command, but is kindly an headcache to use everytime i remove something.

Update: Thanks to jon’s link, i found this command: svn rm $( svn status [LOCAL_COPY_PATH] | sed -e '/^!/!d' -e 's/^!//' ) [LOCAL_COPY_PATH] that fullfill my needs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:37:56+00:00Added an answer on May 22, 2026 at 9:37 pm

    You should always use svn delete rather than just deleting folders/files from the repo. That being said, it looks like someone wrote a script to do this:

    svn commit missing file automatically

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just installed Subclipse for Eclipse . This is my first time using SVN,
When using Tortoise SVN for the first time since a reboot, if the software
My team and I are using svn branches for the first time. Before, we
I'm using svn for the first time, to maintain a custom version of Wordpress.
This is my first time creating a SVN repository. I am running into problems
When I first started using revision control systems like CVS and SVN , I
A bit of background first: I am using base code from a remote SVN
I just started using SVN, and I have a cache directory that I don't
This is my first time trying to use any SCM so please bear with
This is my first time setting up Hudson and I would like to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.