Notes On Command Line Tools

By Sebastian Warnholz, 0 comments.

This article is archived because of a reason. The content can be outdated or in draft form. You are welcome to read it anyway.

In this post I keep some notes on usefull tools on the command line.

Monitoring folders:

For new files

inotifywait ~/data --recursive --monitor --event create

Git

remove all history

rm -rf .git

init git

git init
git add .
git commit -m "Initial commit"

push to GitHub

git remote add origin <github-uri>
  git push -u --force origin master