Code: Select all
#!/bin/bash
echo -e "\n\n\n\e[1m\e[94m\e[2m Deleting History...\n\n\n"
killall SpiderOak
sleep 5
/usr/bin/SpiderOak --purge-historical-versions all
/usr/bin/SpiderOak &
echo -e "\n\n\n\e[1m\e[94m\e[2m END\n\n\n"
Code: Select all
#!/bin/bash
echo -e "\n\n\n\e[1m\e[94m\e[2m Deleting History...\n\n\n"
killall SpiderOak
sleep 5
/usr/bin/SpiderOak --purge-historical-versions all
/usr/bin/SpiderOak &
echo -e "\n\n\n\e[1m\e[94m\e[2m END\n\n\n"
nohup or disown should suffice:BlackVeils wrote:...and be able to close terminal window without closing SpiderOak?
Code: Select all
nohup /usr/bin/SpiderOak &
Code: Select all
/usr/bin/SpiderOak &
disown
Code: Select all
/usr/bin/SpiderOak &
disown
sleep 10
echo -e "\n\n\n\e[1m\e[94m\e[2m END\n\n\n"