added some little scripts for testing and private use
This commit is contained in:
parent
b7ca747b1f
commit
63aff4b329
|
@ -0,0 +1,43 @@
|
|||
#!/bin/bash
|
||||
|
||||
sshfs kitt:/data/audio/music /home/david/Music/kitt/
|
||||
cat /home/david/Documents/code/scripts/kitt.txt
|
||||
echo "mounting audio storage"
|
||||
|
||||
#exaile --debug
|
||||
sleep 0.8
|
||||
clear
|
||||
cat /home/david/Documents/code/scripts/kitt.txt
|
||||
echo "mounting audio storage"
|
||||
echo "starting rhythmbox"
|
||||
sleep 0.8
|
||||
clear
|
||||
cat /home/david/Documents/code/scripts/kitt.txt
|
||||
echo "mounting audio storage"
|
||||
echo "starting rhythmbox."
|
||||
sleep 0.8
|
||||
clear
|
||||
cat /home/david/Documents/code/scripts/kitt.txt
|
||||
echo "mounting audio storage"
|
||||
echo "starting rhythmbox.."
|
||||
sleep 0.8
|
||||
clear
|
||||
cat /home/david/Documents/code/scripts/kitt.txt
|
||||
echo "mounting audio storage"
|
||||
echo "starting rhythmbox..."
|
||||
rhythmbox &> /dev/null
|
||||
|
||||
|
||||
var="no"
|
||||
while [ $var != "yes" ]; do
|
||||
echo "unmounting audio storage now? [yes|no]"
|
||||
read var
|
||||
done
|
||||
|
||||
gksudo umount kitt:/data/audio
|
||||
echo "audio storage now unmounted"
|
||||
sleep 0.8
|
||||
echo "byebye"
|
||||
sleep 2
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,8 @@
|
|||
_..-------++._
|
||||
_.-'/ | _|| \"--._
|
||||
__.--'`._/_\j_____/_||___\ `----.
|
||||
_.--'_____ | \ _____ /
|
||||
_j /,---.\ | =o | /,---.\ |_
|
||||
[__]==// .-. \\==`===========/==// .-. \\=[__]
|
||||
`-._|\ `-' /|___\_________/___|\ `-' /|_.'
|
||||
`---' `---'
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
cat text.txt
|
||||
echo
|
||||
sed -i 's/#local_umask=022/local_umask=0007\nfile_open_mode=0770/' text.txt
|
||||
echo
|
||||
cat text.txt
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "starting jdownloader"
|
||||
java -jar /home/david/Software/JDownloader/JDownloader.jar &> /dev/null
|
||||
echo "exiting"
|
||||
sleep 1
|
||||
echo "byebye"
|
||||
sleep 2
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue