Tag Archives: cli

screenshots from the command line (debian)

you need to install ImageMagick tools

(as root)
apt-get update
apt-get install imagemagick

then, as a regular user, depending on your desktop: Alt+F2 or Mod+d

region of the screen:

import myscreenshot.jpg

full screen:

import -window root myscrennshot.jpg

resuming ssh transfers with rsync

how to send and/or resume:

rsync --partial --progress --rsh=ssh tarball_with_legal-files.tar.gz root@example.net:/mnt/directory/ --bwlimit=KBPS

–partial: will resume files already present on remote server
–progress: show progress bar
–rsh: remote shell
–bwlimit: I/O limit on local, this will impact the net bandwidth used.