automated terminal push
This commit is contained in:
46
yankee-gnome-consumer.bash
Normal file
46
yankee-gnome-consumer.bash
Normal file
@@ -0,0 +1,46 @@
|
||||
#!/bin/bash
|
||||
|
||||
##
|
||||
|
||||
set -e
|
||||
|
||||
set -x
|
||||
|
||||
##
|
||||
|
||||
reset
|
||||
|
||||
clear
|
||||
|
||||
##
|
||||
|
||||
codeDir=/home/yankee/Code
|
||||
|
||||
rm -rf $codeDir
|
||||
|
||||
mkdir $codeDir
|
||||
|
||||
ln -s /yankee/code $codeDir
|
||||
|
||||
ls -lha $codeDir
|
||||
|
||||
##
|
||||
|
||||
downloadsDir=/home/yankee/Downloads
|
||||
|
||||
rm -rf /home/yankee/Downloads
|
||||
|
||||
##mkdir $downloadsDir
|
||||
|
||||
ln -s /yankee/downloads/ /home/yankee/Downloads
|
||||
|
||||
ls -lha $downloadsDir
|
||||
|
||||
##
|
||||
|
||||
echo "##"
|
||||
echo "## launch > yankee gnome > consumer.py"
|
||||
echo "##"
|
||||
|
||||
python3 consumer.py
|
||||
|
||||
Reference in New Issue
Block a user