Hi,
I often use mksquashfs to compress directories before I copy them to another disk for backup. This works fine. But, if the directory is large, then the command takes a long time. At the moment I simply display a splash message "Working.." for an estimated completion time while it is in process.
I would like to show a GUI progress bar while the process is active. I thought I might be able to do this using the pv command - but even though I have read through many examples online, I just cannot seem to understand the syntax for the command to do what I want. Basically I want to:
- execute a mksquashfs <sourcedirectory> <new name.sfs> and while this is running I would like to display an Xdialog screen or a gtkdialog-splash screen showing the % completion - and if possible the estimated remaining time (although I'm guessing this last bit is probably not possible).
Is there anyone who can help me please.