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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:23:47+00:00 2026-05-26T01:23:47+00:00

I have a pretty large directory /var/www/ on my linux Ubuntu server. In that

  • 0

I have a pretty large directory /var/www/ on my linux Ubuntu server. In that directory there are a handful of files I want to use subversion on. How can I set this up? Set-by-step would be helpful I’m new to svn.

So far I have don’t this:

svnadmin create --fs-type fsfs /svn
svn mkdir file:///svn/www/ -m "Created www directory"

For example: In my /var/www/ directory there are a lot of files and subdirectories. I only want to use svn on foo.html, bar.php, and a directory example/

after the necessary files are in the svn there how can I make changes and commit them to svn?

I hope that makes sense, thanks!

  • 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-26T01:23:47+00:00Added an answer on May 26, 2026 at 1:23 am

    This should work:

    REPO=file:///svn
    cd /var/www
    svn co $REPO/www .
    svn add example foo.html bar.php
    svn ci -m "initial checkin"
    svn up
    

    You might also want to do this (still in /var/www):

    svn ps svn:ignore "*" .
    svn ci -m "ignore other stuff"
    svn up
    

    Edit:
    The svn:ignore pattern hides stuff in the output of svn status ONLY IF the item is unknown to svn and would show up as ?. You can still add files/dirs with “svn add” and changes to managed dirs/files are still tracked.

    Since you are interested only in certain files/dirs this seems to be a good default in your case. You can do the same in example if there is stuff you don’t want to version.

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

Sidebar

Related Questions

I have a bunch of pretty large CSV (comma separated values) files and I
I have an application that is pretty memory hungry. It holds a large amount
I have pretty big background of .net, and I've decided that i want to
I have an application that stores large amount of files (XML and binary) in
At work we have a pretty large web application that works by having a
I have a directory on a Windows machine with a large number of files
We have pretty large files, the order of 1-1.5 GB combined (mostly log files)
So I have this pretty large XML file (40MB) that I'll have to repeatedly
I have a pretty large project that just recently started crashing on exit. I
I have a pretty large application that dynamically loads shared objects and executes code

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.