Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-30-2009, 10:27 PM   #1
LQ Newbie
Registered: Jan 2009
Posts: 28

Rep: Reputation: 0
CVS Exclude : Exclude sub directories from check out On Linux from command line


From my cvs server i have to checkout a module which is


the autosim folder contains 10 folders. One of the sub folder name is SimArchTests.

I normally follow this command to checkout the module

cvs co hptolemy/test/autosim

and for update cvs up -APd hptolemy/test/autosim

But now i want to exclude few sub folders with in autosim.

Can any let me know the command through which i can exclude any folders from the module to be checked out.

i want to exclude this sub folder SimArchTests which is in this module


Please let me know.

Old 08-03-2009, 12:36 AM   #2
LQ Newbie
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
when in the directory hptolemy/test/autosim, create a file called .cvsignore and include the names of the directories you want to ignore, one directory per line.

That should do the trick. Just make sure not to commit .cvsignore to the cvs branch, as anyone else using the same thing will then get the file, and cause problems!


checkout, cvs, exclude

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to exclude directories in tar? depam Linux - General 3 05-07-2007 08:23 PM
exclude directories from find noir911 Linux - General 3 11-22-2006 06:39 AM
KDAR Q-how to exclude directories... cbjhawks SUSE / openSUSE 1 10-02-2006 04:05 PM
Tar won't exclude directories. yougene Slackware 9 12-01-2005 09:32 AM
wget & --exclude-directories Tinkster Slackware 4 07-20-2003 10:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration