修訂 | 861a24fd64656e045cf7f89524bfe057058f3a10 (tree) |
---|---|
時間 | 2020-07-20 17:45:49 |
作者 | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
A simple script which also changes the file name according to the date of today.
@@ -0,0 +1,21 @@ | ||
1 | +#!/bin/bash | |
2 | + | |
3 | +rm *pdf | |
4 | + | |
5 | +Rscript generate_taxud_report.R | |
6 | + | |
7 | +rm tikzposter/*pdf | |
8 | + | |
9 | +cd tikzposter/ | |
10 | + | |
11 | + | |
12 | +pdflatex flyer_short.tex | |
13 | +pdflatex flyer_short.tex | |
14 | +pdflatex flyer_short.tex | |
15 | + | |
16 | +_now=$(date +"%Y-%m-%d") | |
17 | + | |
18 | +_file="flyer_short_$_now.pdf" | |
19 | + | |
20 | + | |
21 | +mv flyer_short.pdf "$_file" |