Old 30th January 2012, 08:26   #1
Peter90
Junior Member
 
Join Date: Jan 2012
Posts: 2
Question Copy Files by regular expressions

Hello,

I have got a problem concerning copying specified files.
I've a folder, which contains some more folders. In this folder are a lot of different files.
My aim is to copy some of this files by giving the installer a regular expression. The installer shuold than search all the directories and copy the specified files to the system. The copied files shuold have the same folder structure.

Is there an easy way to do this? Maybe a Plugin? I haven't found one.

I hope you can help me.
Peter90 is offline   Reply With Quote
Old 30th January 2012, 08:56   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
You can use the Locate plugin for this. But it probably won't accept regex.
MSG is offline   Reply With Quote
Old 30th January 2012, 11:49   #3
Peter90
Junior Member
 
Join Date: Jan 2012
Posts: 2
Hello,

thanks for this idee, but can you maybe give me an example? I just tried it but instead of producing files only directories were produced with the name of the files...
Peter90 is offline   Reply With Quote
Old 30th January 2012, 12:12   #4
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
I've never used the locate plugin, so no, I can't give you an example. You can find the information you need in the locate plugin readme.
MSG is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump