diff options
-rw-r--r-- | files.txt | 5 | ||||
-rw-r--r-- | ls-R | 3 | ||||
-rw-r--r-- | makefile | 4 | ||||
-rw-r--r-- | sandbox/01.tex | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/files.txt b/files.txt deleted file mode 100644 index afd71db..0000000 --- a/files.txt +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | files.txt | ||
2 | makefile | ||
3 | README.md | ||
4 | README.tex | ||
5 | sandbox/01.tex \ No newline at end of file | ||
@@ -0,0 +1,3 @@ | |||
1 | ./makefile | ||
2 | ./README.md | ||
3 | ./README.tex | ||
@@ -3,7 +3,9 @@ all: clean | |||
3 | clean: | 3 | clean: |
4 | rm -rf .backup | 4 | rm -rf .backup |
5 | find -iname "*~" | xargs rm -rf | 5 | find -iname "*~" | xargs rm -rf |
6 | rsync -avPr --files-from=files.txt . .backup | 6 | find ./* -type f | grep 'makefile\|md$$\|tex$$' > ls-R |
7 | rsync -avPr --files-from=ls-R . .backup | ||
8 | cp ls-R .backup | ||
7 | rm -rf * | 9 | rm -rf * |
8 | cp -p -r .backup/* . | 10 | cp -p -r .backup/* . |
9 | rm -rf .backup | 11 | rm -rf .backup |
diff --git a/sandbox/01.tex b/sandbox/01.tex deleted file mode 100644 index e69de29..0000000 --- a/sandbox/01.tex +++ /dev/null | |||