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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:06:16+00:00 2026-05-13T23:06:16+00:00

I wish for my application to accept an file specification argument literally, without wildcard

  • 0

I wish for my application to accept an file specification argument literally, without wildcard expansion. This is because the directory from which my command is being run is not the directory (or machine) where the glob expansion should be performed. I believe the scp somehow manages to do this, but I am at a loss to replicate that in my tool other than quoting the argument, but somehow scp doesn’t require quoting, so I would like to do likewise.

How can I prevent wildcard expansion for my command line argument like scp does?

  • 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-13T23:06:16+00:00Added an answer on May 13, 2026 at 11:06 pm

    what shell are you using? In bash, you can use set -o noglob. Otherwise, please provide more information to the problem definition.

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

Sidebar

Related Questions

From my application I wish to open a dialog, which should close immediately (after
I wish to perform device-to-device file transfer over Bluetooth in my Android application. Currently
I wish to compile my asp.net MVC application using aspnet_compiler.exe from the comandline to
I wish to better understand the real-world application of this new feature that consists
I wish to build a sms application in php from scratch. Please guide me
I wish to know when another application finishes editing a file. I am aware
I wish to upload from my Flash Application (AS3) to imageshacks XML API. I
I have a wpf application, which consumes wcf service. I wish to catch any
I wish to create an application in Android which can show the trains(details like
I have a web application which I wish to configure via settings in an

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.