forked from axiom-team/astroport
13 lines
239 B
Bash
13 lines
239 B
Bash
#!/bin/bash
|
|
|
|
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1)
|
|
|
|
sudo systemctl stop ipfs
|
|
|
|
shopt -s extglob
|
|
cd /home/$YOU || exit 1
|
|
rm -rf .ipfs/
|
|
|
|
cd .zen || exit 1
|
|
rm -rf !(astroport)
|