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 8826841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:14:32+00:00 2026-06-14T07:14:32+00:00

I have a repository with some files ending in .scc There is one of

  • 0

I have a repository with some files ending in .scc

There is one of these files in just about every subfolder of the repo and they are all committed.

I’m using:
TortoiseSVN 1.6.15, Build 21042 – 64 Bit
Subversion 1.6.16

With TortoiseSVN I can go into each folder and right-click on the file and select “Delete and add to ignore list” but that’s a pain to do that in each and every folder. So I am basically looking for an easy way to recursively do exactly the same as TortoiseSVN’s “Delete and add to ignore list”. Either through TortoiseSVN or the command line.

  • 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-06-14T07:14:33+00:00Added an answer on June 14, 2026 at 7:14 am

    To add a file to the ignore list, you can update your %USERPROFILE%\local data\.subversion\config file. (I’m not 100% sure where it’s located, but it should be under the .subversion directory somewhere under your %USERPROFILE% directory. Unix and Macs, it would be under $HOME/.subversion/config.

    In that file, there’s a global-ignores= parameter. You can remove the # in the front of it (if it’s not already removed), and add .ssc to it. It’s around like #90 in my version of this file.

    Now, you’ll have to figure out a way to delete all of these .scc files. All you have to do is this:

      $ find . -name `*.scc -exec svn del {} \;`
    

    Wait, you’re using Windows. That’s harder. I don’t have a Windows machine in front of me, but I know you can find all of thes *.scc files by doing this:

     C:> dir *.scc /s/b
    

    You might be able to pipe this into a for loop of some sort, and pass it to a svn del statement. Even if I had a Windows machine, it can take me a while to work out the syntax. Since I don’t have a Windows machine in front of me, it’s even more difficult.

    Easiest way would be to redirect the output to a file, and then edit the file using a good program editor (by which I mean not notepad.exe):

     C:> dir *.scc /s/b > delete_me.bat
     C:> notpadplusplus delete_me.bat
    

    Now, you can use Notepad++ to edit your file and quickly prefix each line with a svn del. Run this delete_me.bat file, and it will remove all of your *.scc files. (I personally prefer Vim, but then I’m a masochist).

    The big question is how to prevent adding these files back. Ignores set up as I showed you are client specific. You could setup a svn:ignore property in each directory. This is a more global version that affects everyone, but it still won’t prevent someone from adding them because the files will still show up in Windows Explorer.

    I have a pre-commit hook that can be setup, so no one will ever be able to add in these .scc files again. You could also set it up not to include the other types of files that VisualStudio puts in too.

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

Sidebar

Related Questions

I have checked out some files from subversion repository. After building, there are a
I have some files in my SVN repository that I would like to have
I create a working repository in HG. And I have modified some files. How
I have svn repository where I have scheduled some files and folders to be
I have a repository for storing some large binary files (tifs, jpgs, pdfs) that
I have an online repository with some .h and .cpp files that make up
I have a Subversion repository that contains the externals and some files to start
I have a git repo. Some commits have been done - some files added,
I have some files in my repository that are bottom-growing: most of the changes
I have some files in my repository that should be ignored, i added them

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.