Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Copy files step - include just the root files (https://www.kinook.com/Forum/showthread.php?t=5770)

teognost 03-04-2022 04:04 PM

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.

kinook 03-04-2022 08:40 PM

Use an exclusion of

/**/2*.txt


All times are GMT -5. The time now is 09:03 PM.


Copyright © 1999-2023 Kinook Software, Inc.