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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:23:40+00:00 2026-05-13T12:23:40+00:00

Is there a way to use install for installing multiple files at once using

  • 0

Is there a way to use “install” for installing multiple files at once using a “wildcard” pattern (and still have “install” create the leading directory hierarchy)?

I’ve tried several different ways:

  • install -D -t /dest/path /source/path/*.py
  • install -D -t /dest/path/ /source/path/*.py
  • install -D /source/path/*.py /dest/path
  • install -D /source/path/*.py /dest/path/

Please help… for each trial it takes a lot of time (I am using pbuilder to test my package each time).

  • 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-13T12:23:40+00:00Added an answer on May 13, 2026 at 12:23 pm

    Maybe use a simple outer for loop around the install call? So how about

    for f in /source/path/*.py; do \
        install -D -t /dest/path $f; \
    done
    

    That said, you can always take the logic out of your Makefile, debian/rules file, … and test it standalone without having to run pbuilder.

    Otherwise of course props for using pbuilder for internal projects!

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

Sidebar

Related Questions

Is there a way to use QT 4.6.3 visual controls with Lazarus 0.9.28.2 Beta?
A simple question - is there any way to make the g++ linker to
I have some small python apps that use cx_Oracle to connect to an Oracle
Is it possible to use install(TARGETS ...) with targets that are defined in directories
I'm trying to do file uploads with ruby 1.8 and it seems like there
I installed Mogenerator . Now what do I do? How do I use it?
I have a smarthone application for controlling a device via Bluetooth. I'm now looking
I try to install Rails 3 on Windows 7, and rails new someapp -d
The project I'm working uses SMO to restore the needed databases as part of
How can I set a development environment for PHP on my Ubuntu (latest version)

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.