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

  • Home
  • SEARCH
  • 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 7725987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:05:49+00:00 2026-06-01T05:05:49+00:00

I have been using the –cvs-exclude option on my rsync scripts for a little

  • 0

I have been using the –cvs-exclude option on my rsync scripts for a little over a year now. I work with an SVN repository so it keeps the SVN files out of production.

Today I attempted to rsync changes and suddenly rsync wasn’t picking anything up from a folder named “core.” Upon investigating I found out that “core” is a CVS folder so it gets ignored.

So my question is why rsync worked at all for me, but suddenly today decided to start ignoring the “core” folder like it should be.

I’ve solved the problem by simply ignoring SVN files instead of using CVS exclude, but am still perplexed as to why rsync worked for up until today.

My old rsync code:

rsync -vcaz --no-p --cvs-exclude --exclude downloader --exclude media --exclude var     /var/www/project/ user@production.com:/var/www/project/httpdocs/ | grep -v '/$'

Operating system (Running Xubuntu):

Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:    11.10
Codename:   oneiric

rsync version:

rsync  version 3.0.8  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes

Perhaps not a critical question, but it’s bothering me nonetheless.

  • 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-01T05:05:50+00:00Added an answer on June 1, 2026 at 5:05 am

    I also ran into the same problem. Rsync excludes the following types of files if -C option is used:

    static char default_cvsignore[] =
        /* These default ignored items come from the CVS manual. */
        "RCS SCCS CVS CVS.adm RCSLOG cvslog.* tags TAGS"
        " .make.state .nse_depinfo *~ #* .#* ,* _$* *$"
        " *.old *.bak *.BAK *.orig *.rej .del-*"
        " *.a *.olb *.o *.obj *.so *.exe"
        " *.Z *.elc *.ln core"
        /* The rest we added to suit ourself. */
        " .svn/ .git/ .hg/ .bzr/";
    

    “core” files are core dumps for terminated programs, so typically you do not want to copy these files. The problem is when you have, for instance, a directory called “core”.

    The solution is to use the “–include” option, or create a filtering file containing a rule like:

    + core

    and then use “–filter=filename”.

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

Sidebar

Related Questions

I have been using IoC for a little while now and I am curious
I have been using C# for a while now, and going back to C++
I have been using Ruby for a while now and I find, for bigger
I have been using the CSLA framework for couple of years now for windows
I have been using json.NET successfully in projects for some time now without any
I have been using BeansTalk to host my personal SVN repository and I am
I have been using these files all day... And then suddenly this is now
I have been using the Scanner object to take in input until now and
I have been using WebForms until now and now wish to learn MVC. However
I have been using http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application as guidance to help me create a repository.I have

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.