Skip to content

Instantly share code, notes, and snippets.

@doevelopper
Last active February 10, 2019 19:12
Show Gist options
  • Save doevelopper/e87f2669e524429f17686b5a717c314c to your computer and use it in GitHub Desktop.
Save doevelopper/e87f2669e524429f17686b5a717c314c to your computer and use it in GitHub Desktop.
$> tar cvfz output-name.tar.gz --exclude ".git/*" --exclude ".git" --exclude "build/*" 
       --exclude "support/*" --exclude ".gradle/*" --exclude='*.zip' --exclude='*.gz'
@doevelopper
Copy link
Author

doevelopper commented Jan 22, 2019

$>  echo $(ip -o -f inet address show scope global | head -n1 | awk '{print $4;}' | cut -d'/' -f1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment