Skip to content

Instantly share code, notes, and snippets.

@waltspence
Last active October 31, 2017 06:06
Show Gist options
  • Save waltspence/dcbdb393aa3ffbcf85ecf057f774e6f8 to your computer and use it in GitHub Desktop.
Save waltspence/dcbdb393aa3ffbcf85ecf057f774e6f8 to your computer and use it in GitHub Desktop.
Create a project directory quickly in bash
alias werwerwerwerk="cd $HOME/Projects/current && mkdir werk_$(date +%F-%T)"
@waltspence
Copy link
Author

waltspence commented Jun 27, 2016

Werwerwerwerk

Quickly create a new project folder based on date and time so you can quickly start coding

You should probably have a directory structure like mine or you can edit this alias to reflect your needs of course.
My directory sturcture is as follows: Projects/{current, future, old}

After that is complete you can get werwerwerwerk to work in bash by doing the following

  1. Copy and paste this into your .bashrc
  2. After saving enter source ~/.bashrc into bash
  3. Werwerwerwerk

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