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;
i did not manage to create an archive that contains empty folder by using
TPabbrevia. i'm creating archive withJediand extract it withTPabbreviabecauseJedidoes not work to extract tar archive onWindows 10properly.Parameter archiveFileName should contain .tar file extension.