Daniel Kuruc µblog

View on GitHub

Useful Linux Commands

  1. rsync
    • Show progress: --info=progress2 (source)
  2. Mount/browse .img disk image file
    • sudo losetup -Pf FileName.img
    • sudo kpartx -v -a FileName.img
  3. Archives
    • Repack one format to another on the fly: use arepack from atool package, e.g.:
        $ arepack -e -F zip *.7z && rm -f *.7z
      

      Source: https://superuser.com/a/1326401