source: flex_extract.git/For_developers/mk_upload_tarball.sh @ 071ee9b

ctbtodev
Last change on this file since 071ee9b was 071ee9b, checked in by Anne Philipp <anne.philipp@…>, 5 years ago

deleted old tar creation script and updated the new one to corrrect pathes

  • Property mode set to 100755
File size: 1.6 KB
Line 
1#!/bin/bash
2#
3# @Author: Anne Philipp
4#
5# @Date: March, 1 2019
6#
7# @Description: Makes a tarball for uploading and distributing on flexpart.eu
8#
9# @Licence:
10#    (C) Copyright 2014-2019.
11#
12#    SPDX-License-Identifier: CC-BY-4.0
13#
14#    This work is licensed under the Creative Commons Attribution 4.0
15#    International License. To view a copy of this license, visit
16#    http://creativecommons.org/licenses/by/4.0/ or send a letter to
17#    Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
18#
19
20tarname='flex_extract_v7.1.tar.gz'
21tardir='flex_extract_v7.1'
22
23# go back to directory which is above flex_extract directory
24cd ../..
25
26# create tar-ball
27tar -zcvf $tarname $tardir\
28    --exclude=$tardir'/Source/Fortran/*.o' \
29    --exclude=$tardir'/Source/Fortran/*.mod' \
30    --exclude=$tardir'/Source/Fortran/CONVERT2*' \
31    --exclude=$tardir'/Source/Python/*.pyc' \
32    --exclude=$tardir'/Source/Pythontest/*.pyc' \
33    --exclude=$tardir'/Source/Pythontest/__pycache__' \
34    --exclude=$tardir'/Source/Pythontest/.pytest_cache' \
35    --exclude=$tardir'/.git' \
36    --exclude=$tardir'/.gitignore' \
37    --exclude=$tardir'/Run/ECMWF_ENV' \
38    --exclude=$tardir'/Run/Workspace' \
39    --exclude=$tardir'/Run/Jobscripts/*' \
40    --exclude=$tardir'/Testing/Testcases' \
41    --exclude=$tardir'/Testing/Controls' \
42    --exclude=$tardir'/Testing/Dir' \
43    --exclude=$tardir'/Run/fontconfig' \
44    --exclude=$tardir'/Run/run_local.sh' \
45    --exclude=$tardir'/Run/Control/Testgrid' \
46    --exclude=$tardir'/Run/Control/notPublic' \
47    --exclude=$tardir'setup_local.sh' \
48    --exclude=$tardir'/.empty' \
49   
50     
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG