Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-04-2022, 04:04 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Copy files step - include just the root files

Hi
If I have a copy files step where copy subdirectories recursive is checkes and I have an include mask which for some files I want to be applied recursively but for others just the root files to be copied -is it possible to achieve this?
For example I want to copy the files:
1*.txt
2*.txt
but these files 2*.txt just from the root (not from other subfolders) -is it possible to put some special mask for 2*.txt so they will be copied just from the root?
Or I need to create a separate copy files step for 2*.txt and uncheck there the option copy subdirectories recursive ?
I tried with a single copy files step with Include:
1*.txt
/2*.txt
but it did not work.
Reply With Quote
  #2  
Old 03-04-2022, 08:40 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Use an exclusion of

/**/2*.txt
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT -5. The time now is 09:51 AM.


Copyright © 1999-2023 Kinook Software, Inc.