Skip to content

Instantly share code, notes, and snippets.

View minidoc's full-sized avatar

Dominic minidoc

  • Hyderabad, India
View GitHub Profile
@minidoc
minidoc / diff-dirs
Last active October 29, 2020 23:47
rsync-compare-directories - https://unix.stackexchange.com/a/463214
#!/bin/bash
# Compare two directories using rsync and print the differences
# CAUTION: options MUST appear after the directories
#
# SYNTAX
#---------
# diff-dirs Left_Dir Right_Dir [options]
#
# EXAMPLE OF OUTPUT
#------------------
@minidoc
minidoc / mac-settings-old
Last active November 9, 2020 05:18
Work in progress. Most commands are run individually on the terminal.
#completely work in progress. Most commands are run individually on the terminal.
# setting up macbook pro
# Make sure codeX is installed and terms agreed to.
# for command line tool
xcode-select --install
# Get homebrew