Backup project does not really show all the files to be backed up:
* If c:\source\project.dpr contains {#BACKUP .txt} the list shows c:\source*.txt rather than the actual file c:\source\project.txt that gets backed up.
* if c:\source\unit1.pas contains {#BACKUP .txt} the list shows c:\source*.txt rather than the actual file c:\source\unit.txt that getsbacked up.
* If {#BACKUP some\path*.txt} is used in one of these files, the list shows some\path*.txt rather than the files matching that mask which will get backed up.
* a special case of the latter is {#BACKUP .*.txt} which means all files in the directory containing the source file with that #BACKUP directive.
* The help is not really clear about the various uses of wildcards listed above.
Hi, any news for this bug? since 2016 :)
Did you just volunteer to fix it? ;-)
If I can do, Why not my friend :) But need more help, 'cos I don't know your classes, and where can I start.
{#+BACKUP ...._files*.css} // apply mask, recursive folder add files to backup list
{#+BACKUP ...._files*.js}
{#BACKUP .sql} //add masked file(s) to backup list
{#-BACKUP .json} //exclude this mask to backup list
{#-BACKUP ....\baseFoo*.*}//exclude all folder, recursive folder
for FileList use TListView;
I added patch file.
fixed in revision #5079
Thanks for the patch.