File: VignetteExportUpload.sh

package info (click to toggle)
r-cran-rockchalk 1.8.157%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,932 kB
  • sloc: sh: 13; makefile: 2
file content (33 lines) | stat: -rwxr-xr-x 857 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash

lyx -e pdf2 Rstyle.lyx
lyx -e sweave Rstyle.lyx

lyx -e pdf2 Rchaeology.lyx
lyx -e sweave Rchaeology.lyx


lyx -e pdf2 rockchalk.lyx
lyx -e sweave rockchalk.lyx

#mkdir Rchaeology.html.LyXconv
#cp Rchaeology.Rnw Rchaeology.html.LyXconv
#cd Rchaeology.html.LyXconv
#R CMD Sweave Rchaeology.Rnw
#../sw


NOW=$(date +"%Y%m%d")
dir="backup/backup-$NOW"
budir="freefaculty.org/R/backup/backup-$NOW"

ssh freefaculty mkdir -p $budir

rsync -e ssh  -b --suffix="-bak2" --backup-dir=$dir Rchaeology.pdf  freefaculty:freefaculty.org/R

rsync -e ssh -b --suffix="-bak2" --backup-dir=$dir rockchalk.pdf  freefaculty:freefaculty.org/R

rsync -e ssh -b --suffix="-bak2" --backup-dir=$dir Rstyle.pdf  freefaculty:freefaculty.org/R


##rsync -e ssh -b --suffix="-bak2" --backup-dir=$dir  Rchaeology.html.LyXconv/Rchaeology.html  freefaculty:freefaculty.org/R