Hacker News new | past | comments | ask | show | jobs | submit login
mktouch: create file in your path in one go (gist.github.com)
2 points by pbd on May 14, 2023 | hide | past | favorite | 3 comments



This simple command line tool will create the directory and the file in it in one command. Often times when I am adding test cases in pycharm, I have this frustrating experience where I have to manually create the directory & the test_file manually before I can start writing my tests. This utility has simplified my life drastically.

You can set it up in your path as well.


I appreciate the effort, but after years of using Linux and UNIX tools in general, I find it quite easy to just write something like `mkdir whatever && cd $_ && touch hello.py` and that is just a single way to do such thing.


Plus one to you too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: