update20131129
This commit is contained in:
4
decryptGPGFile.sh
Executable file
4
decryptGPGFile.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
IN=$1
|
||||||
|
OUT=$2
|
||||||
|
gpg --decrypt --output $OUT $IN
|
||||||
3
encryptGPGFile.sh
Normal file
3
encryptGPGFile.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
IN=$1
|
||||||
|
gpg --encrypt -a $IN
|
||||||
@@ -4,5 +4,5 @@ FOLDER=`date +"%Y%m%d"`
|
|||||||
mkdir $FOLDER
|
mkdir $FOLDER
|
||||||
cd $FOLDER
|
cd $FOLDER
|
||||||
cp ~/.pwsafe.dat expo.dat
|
cp ~/.pwsafe.dat expo.dat
|
||||||
~/bin/encryptFileByRSA.sh expo.dat $KEY
|
~/bin/encryptGPGFile.sh expo.dat
|
||||||
|
|
||||||
|
|||||||
25
moveStubbfel.sh
Normal file
25
moveStubbfel.sh
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /tmp/
|
||||||
|
mkdir mov_src
|
||||||
|
rm -R mov_src/*
|
||||||
|
cd mov_src
|
||||||
|
|
||||||
|
mkdir -p simulations/moversight/commands
|
||||||
|
mkdir -p simulations/moversight/metricSetups
|
||||||
|
mkdir -p simulations/moversight/mrdumps
|
||||||
|
mkdir -p simulations/moversight/result
|
||||||
|
mkdir -p src
|
||||||
|
|
||||||
|
cp ~/Dokumente/masterarbeit/masterarbeit/src/simulations/moversight/commands/*.txt simulations/moversight/commands
|
||||||
|
cp ~/Dokumente/masterarbeit/masterarbeit/src/simulations/moversight/metricSetups/*.dat simulations/moversight/metricSetups
|
||||||
|
cp ~/Dokumente/masterarbeit/masterarbeit/src/simulations/moversight/*.ned simulations/moversight/
|
||||||
|
cp ~/Dokumente/masterarbeit/masterarbeit/src/simulations/moversight/*.ini simulations/moversight/
|
||||||
|
cp -r ~/Dokumente/masterarbeit/masterarbeit/src/src/moversight/ src/
|
||||||
|
|
||||||
|
rm src/moversight/Moversight
|
||||||
|
find . -type f -and \! \( -name "*.c" -o -name "*.h" -o -name "*.cc" -o -name "*.ned" -o -name "*.dat" -o -name "*.txt" -o -name "*.ini" \) -exec rm -f {} \;
|
||||||
|
|
||||||
|
cp -R src/moversight/stubbfel/* src/moversight/
|
||||||
|
rm -R src/moversight/stubbfel/
|
||||||
|
|
||||||
|
find src/moversight/ -type f -and \( -name "*.c" -o -name "*.h" -o -name "*.cc" \) -exec sed -i 's/#include "stubbfel\//#include "/g' {} \;
|
||||||
3
searchFileContent.sh
Normal file
3
searchFileContent.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
find . -type f -iname "*.pdf.txt" -exec grep "31051" {} \; -print
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user