diff --git a/1.Base/1.Utilities/bashrc b/1.Base/1.Utilities/bashrc index c36b93065f0292c2bdc8fb015e37ee7ff8494377..4ab1120659bc816752cef4ed3b5da156e1596386 100644 --- a/1.Base/1.Utilities/bashrc +++ b/1.Base/1.Utilities/bashrc @@ -112,12 +112,3 @@ alias aptug='sudo apt-get upgrade' # files alias rmempty='find . -type d -empty -delete' alias rmpyc='find . -name *.pyc -type f -delete && find . -name __pycache__ -type d -delete' - -# send a file to the dir served by monitor on https -function cp_to_monitor() { - url=`grep server_name /etc/nginx/sites-enabled/msmonitor.conf | tail -n 1 | cut -f 2 | cut -d " " -f 2` - url="${url::-1}" - echo "cp $1 /home/msmonitor/msmonitor/logs/$1" - cp $1 /home/msmonitor/msmonitor/logs/$1 - echo "Files are available here: https://$url/storage/" -}