Hacker News new | ask | show | jobs
by throw0101a 2122 days ago
> Because tar operations may be long running, it can be useful to have feedback about progress during the operation.

For those running on a system that has SIGINFO (e.g., BSD, macOS?), hit ^T and you'll get a status report to stderr. ^T should work for various other utilities as well: dd, cp, ftp.

On those systems that do not have SIGINFO (Linux?), but are using bsdtar (libarchive), SIGUSR1 will do the same:

* https://github.com/libarchive/libarchive/search?q=SIGINFO

INFO isn't one of the mandatory POSIX signals:

* https://en.wikipedia.org/wiki/Signal_(IPC)#POSIX_signals

1 comments

I'm a GNU fanboy, but I've given in that (libarchive) bsdtar is just nicer than GNU tar