LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,

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

hptolemy/test/autosim

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

hptolemy/test/autosim

Please let me know.

Regards,
Ajay
 
Old 08-03-2009, 01:36 AM   #2
drdelaney
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!
 
  


Reply

Tags
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 09:23 PM
exclude directories from find noir911 Linux - General 3 11-22-2006 07:39 AM
KDAR Q-how to exclude directories... cbjhawks SUSE / openSUSE 1 10-02-2006 05:05 PM
Tar won't exclude directories. yougene Slackware 9 12-01-2005 10:32 AM
wget & --exclude-directories Tinkster Slackware 4 07-20-2003 11:02 PM


All times are GMT -5. The time now is 06:31 PM.

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