Skip to content

Instantly share code, notes, and snippets.

View hkondo's full-sized avatar

Hideki KONDO hkondo

  • Kanda University of Internaional Studies
  • Wakana 1-4-1, Mihama, Chiba, JAPAN
View GitHub Profile
@markhalliwell
markhalliwell / rsync-progress.sh
Last active January 22, 2016 13:25
This only really works if rsyncing entire folders. Single files do work, however it will just appear to stand still (no progress). Also, change the path to cocoaDialog accordingly.
#!/bin/bash
# cocoaDialog Rsync Progress
#
# Rsync files using the cocoaDialog progress bar. Example usage:
# $ rsync -avr --progress ~/source ~/destination | ./rsync-progress.sh
#
# Copyright (C) 2014 Mark Carver
#
# Adapted from Kevin Hendricks example code