Skip to content

Instantly share code, notes, and snippets.

View daniyel's full-sized avatar
🎯
Focusing

Danijel H daniyel

🎯
Focusing
View GitHub Profile
@daniyel
daniyel / create_diff.sh
Last active March 12, 2018 13:05
Bash script for creating destination diff folder between two source folders
#!/bin/bash
programname=$0
function usage {
echo "usage: $programname -l folder1 -r folder2 -d folder3 [-e lrd]"
echo " -l folder on the left side"
echo " -r folder on the right side"
echo " -d destination folder"
echo " -e exclude l (left side), r (right side) or d (differ)"