i want to create a *.tar.gz file with abbrevia, i'm using below code but empty folders are not added to archive. baseDir
contains empty and not empty folders.
i have found bugs that fixed about empty folders
https://sourceforge.net/p/tpabbrevia/bugs/108/
https://sourceforge.net/p/tpabbrevia/bugs/8/
How can i add these empty folders to archive?
Zip := TAbZipper.Create(nil);
try
Zip.BaseDirectory := baseDir;
Zip.StoreOptions := [soRecurse];
Zip.Filename := targetFile;
Zip.FArchive.StoreOptions := [soRecurse];
Zip.AddFiles('*', faDirectory + faAnyFile);
Zip.CloseArchive;
finally
Zip.Free;
end;