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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:51:16+00:00 2026-06-02T07:51:16+00:00

If I issue a tf get command on the cli my $/common/lib directory like

  • 0

If I issue a tf get command on the cli my $/common/lib directory like so

tf get d:\work\common\lib /recursive I want to be able to say (without changing my workspaces) exclude these child directories, so.

Lets say I want to get everything except $/common/lib/foo.

The upshot would be I would get everything under the $/common/lib except that which resides under $/common/lib/foo.

Is this even possible. I appreciate it might be time to refactor where the foo directory resides to make this easier but that is not possible at the current time

Another approach would be to connect to the repository and call seperate operations on the directories I did want. All of this is being done by a script thus the reason for wanting a one liner to be a bit more efficient. If it can’t be done it can’t be done 🙂

  • 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-02T07:51:17+00:00Added an answer on June 2, 2026 at 7:51 am

    The easiest solution is to use cloaked folders on the server, and let it exclude these items for you. You mention that don’t want to change your workspace, however it’s pretty simple to modify your working folder mappings only temporarily to add the cloaks, for example:

    tf workfold /cloak $/common/lib/foo
    tf get $/common/lib /recursive
    tf workfold /decloak $/common/lib/foo
    

    Not quite a one-liner, but the alternative would probably be to get all the subfolders (except $/common/lib/foo) specifically.

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

Sidebar

Related Questions

Whatever command like rake,rails etc I issue,I get the same error in my rails
How can I ignore the attribute error I get when I issue this command?
In vxWorks, I can issue the i command in the shell, and I get
What is the best way to issue a http get in VB.net? I want
When I issue the below from the command line: svn add SomeFileInMyWorkingDirectory.zip I get:
I'm trying to issue a GET command to my local server using netcat by
SMTP server response: 530 5.7.0 Must issue a STARTTLS command first I get this
I was not able to get snipMate to work with gvim and then found
If I issue following command in PowerShell, I get a lot of rows back.
I need to issue multiple $.get requests, process their responses, and record the results

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.