[CMake] Tracking progress of CMake TAR

Ian Cullen ian.james.cullen at gmail.com
Mon Dec 17 09:45:58 EST 2018


Are you calling tar via a custom command?  tar itself looks to have a 
few options to print progress:

https://www.gnu.org/software/tar/manual/html_section/tar_25.html

Although none of the options seem to know the archive's size, so aren't 
able to print a completion percentage.


On 16/12/2018 21:31, Person Withhats wrote:
> When running tar via CMake (in order to use cross-platform 
> work-ability and what not) it'd be great to have a progress bar of any 
> sort.
>
> It's awkward to wait 30-60 minutes for file untarring with absolutely 
> 0 information. I'm not aware of any way to do this through CMake 
> directly, only alternative is e.g. python script that does the untar 
> for me.
>
> Any suggestions? (sorry if this is reposted, can't remember if acc was 
> approved before or after sending one time)
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181217/5b6ec6d7/attachment.html>


More information about the CMake mailing list