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

Better finding of the last reciepts zip file.

For sending my accountant.
parent a785b4f4
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
last_zip != find -maxdepth 1 -name '*.zip' \! -name '${last_month}.zip' -printf '%f\n' | sort -r | head -1
new_files != find reciepts/ -type f -newer ${last_zip}
${last_month}.zip: ${new_files}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment