ide의 명령어 변수 중 ${selected.file.path}을 사용하면 가능할지도 몰라요!
도움말도 있더라고요.
https://help.goorm.io/ko/goormide/02.project/command#undefined-8
그리고 영어지만 사용사례도 레딧에 올라왔더라고요.
https://www.reddit.com/r/goormIDE/comments/g9051i/the_command_variable_in_the_command_feature_of/
안녕하세요!
과점유 경로를 찾는게 제한된다면 아래 명령어가 도움이 되실 것 같습니다.
du 명령어의 대상 경로를 수정하여 원하는 디렉터리 하위로 찾을수도 있습니다.
(최상단 디렉터리에서 찾는 것으로 시간이 다소 걸릴 수 있습니다.)
du -abh --max-depth=5 --exclude=/goorm --exclude=/usr --exclude=/goormService / | sort -k 1 -hr | head -50
경로가 확인되고, 해당 파일을 제거해도 된다고 판단되시면 아래 명령어를 통해 지우시면 됩니다.
rm -fv [경로 or 파일명]