How to remove all files but one from command line?
To remove all files but a given one do: find . -type f -not -name "application.make" | xargs rm To also remove the directories do: find . -not -name "application.make" | xargs rm -r …
To remove all files but a given one do: find . -type f -not -name "application.make" | xargs rm To also remove the directories do: find . -not -name "application.make" | xargs rm -r …
To view logfiles while they update do: tail -f path/to/logfile_name Thanks Jeroen for the tip.…
Use git show-branch to know which branch last was committed to. git show-branch --color It visualizes all branches with their last commits.…