alexandersep / notes

A simple note taking bash script. It converts markdown to LaTeX using pandoc
GNU General Public License v3.0
1 stars 0 forks source link

Write files #4

Closed alexandersep closed 2 years ago

alexandersep commented 2 years ago

Add a Read flag -w which creates a new markdown file. If a file already exists with the same name open the file instead. This is useful so that I can use my notes programme without needing to enter many directories and waste time.

Examples of use case

notes -y3 -s1 -dCompNet -w lecture1 # this file already exists and so will open it
notes -y3 -s1 -dCompNet -w lecture4 # this file is new and will create and open it
alexandersep commented 2 years ago

Added also the ability to remove files, example of this would be

notes -y3 -s1 -dComArch2 -r lecture2.md