4

42Seoul Cluster Mac 용량확보 스크립트!

 1 year ago
source link: https://gist.github.com/JaeSeoKim/49d72957bae58d67f6aaa223f4b1cea2
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

사용시 일어나는 오류 문제 사항은 책임지지 않습니다..!!

버그로 의심되는 부분이 있다면 Slack DM(@jaeskim)으로 보내주세요!!

  1. 위의 42seoul_link_all_cache_dirs.sh 파일을 다운 받아주세요!
  2. 다운 받은 파일을 적당한 경로 (ex. HOME) 에 저장을 합니다!
  3. echo "bash ${저장한 **절대** 경로}/42seoul_link_all_cache_dirs.sh" >> ~/.zprofile 를 통해 로그인시 마다 스크립트를 동작 가능하도록 설정합니다.
  4. 현재 사용중인 클러스터 맥을 로그아웃 해보고 로그인 하여 작동을 테스트 합니다!
    • 아래와 같이 ~/goinfre 에 파일이 생성되어 있다면 제대로 작동하는 겁니다!
❯ cd ~/goinfre; pwd; ls; du -d 1 -h .
/Users/jaeskim/goinfre
ApplicationSupport Caches             issetup
174M	./ApplicationSupport
8.4M	./Caches
182M	.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK