rexclude and rinclude

  • Steven Roussey

    Steven Roussey - 2009-02-24

    I have s3cmd always use --rexclude='.svn' to make sure that if I am in a svn repo at the time, not to send all the hidden svn junk. Problem is, when I use it to upload files, say, all those that end in a .gz, I end up uploading the .svn files since the include seems to override the exclude. Is this by design? Or a bug, or a user error?

    • Michal Ludvig

      Michal Ludvig - 2009-02-24


      that's right, --include overrides --exclude, that's by design. Have a look at for more details.

      In your case, when you're excluding .svn, why do you also have an --include pattern there? Let me know what exactly you're trying to achieve, apart from excluding .svn dirs, and I'll help you with the patterns.



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks