Skip to content
Snippets Groups Projects
Commit 2776585e authored by nimrod's avatar nimrod
Browse files

Add Makefile for zipping reciepts to send to my accountant.

parent 46991c3a
No related branches found
No related tags found
No related merge requests found
last_month != date +%Y-%m --date 'last month'
last_zip != ls *.zip | sort -r | head -1
new_files != find reciepts/ -type f -newer ${last_zip}
${last_month}.zip: ${new_files}
zip $@ $^
.PHONY: clean
clean:
rm *.zip
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment