mac和服务器的挂载

1
2
3
4
5
> brew install sshfs
> brew update-reset
> sshfs -C -o reconnect lizhipeng@10.12.8.26:/home/resources/lizhipeng /Users/zhipeng/win10/sshRemote
> sudo diskutil umount force /Users/zhipeng/win10/sshRemote
>

参考:https://segmentfault.com/a/1190000007501763

最早只是想复制,复制操作太多直接挂载了⬆️

1
scp -r lizhipeng@10.12.8.26:/home/resources/lizhipeng/lstm-src /Users/zhipeng/win10

删除某软件日志

1
2
3
以IDEA为例
rm -rf ~/Library/Application Support/JetBrains/IntelliJIdea2021.1
rm -rf ~/Library/Cashe/JetBrains/IntelliJIdea2021.1

删除JAVA

查看路径/usr/libexec/java_home -V
出来的全删了