Windows ã¯ã¢ããªãã¨ã«ãã£ãã·ã¥ãæã£ã¦ãã¦ãTempãªã©ã«ã¾ã¨ãã¦ç®¡çããæåããªãã
ã¾ãLinuxã¨ãRuby Bundler ãªãããåããªãã§ããã©ã
ããã¦ãWindowsã®ãã£ã¹ã¯ã®ã¯ãªã¼ã³ã¢ãããã$APPDATA/**/Cacheããã©ã«ãã®ä¸èº«ã¯å®¹èµ¦ãªãæ¶ãããã¿ãããªä»æ§ã«ãã¦ãããããªãã£ã¨æãã
ãã£ãã·ã¥é¢é£ãåé¤
rm -Recurse -Force -Confirm:$false C:\Users\takuya\AppData\Local\NuGet\Cache\* rm -Recurse -Force -Confirm:$false C:\Users\takuya\scoop\cache\* rm -Recurse -Force -Confirm:$false 'C:\ProgramData\Package Cache\*' rm -Recurse -Force -Confirm:$false C:\ProgramData\chocolatey\logs\chocolatey.*.log rm -Recurse -Force -Confirm:$false C:\ProgramData\chocolatey\logs\choco.summary.*.log rm -Recurse -Force -Confirm:$false C:\ProgramData\ChocolateyHttpCache/* rm -Recurse -Force -Confirm:$false C:\ProgramData\Emurasoft\EmEditor\updates\* rm -Recurse -Force -Confirm:$false 'C:\ProgramData\Apple Computer\Installer Cache\*' ## ã´ãç®±ã空㫠echo y | powershell Clear-RecycleBin
ä»ã«ãããã£ãã·ã¥ãæã£ã¦ããã©ã«ãã¯è¦ã¤ãã次第ã«è¿½å ãã¦ãããã¨æã
ã¿ã¹ã¯ã¹ã±ã¸ã¥ã¼ã©ã«ç»é²ããã
ãããªæãã§ãã³ãã³ããç»é²ãã¦ãå®æçã«å®è¡ãããã¨ã«ããã
<?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <RegistrationInfo> <Date>2024-09-11T14:42:35.0215253</Date> <Author>takuya</Author> <URI>\takuya\Cleanup Caches</URI> </RegistrationInfo> <Triggers /> <Principals /> <Settings /> <Actions Context="Author"> <Exec> <Command>powershell.exe</Command> <Arguments>-WindowStyle Hidden -ExecutionPolicy Bypass -File ""C:\Users\takuya\misc-app\maintenance\remove-cache.ps1"</Arguments> </Exec> </Actions> </Task>
ãã£ãã·ã¥ã¯æºããªãã§ã»ãã
ãã£ãã·ã¥ãSSDå± åº§ããã¨ã§ãSSDã®å®¹éã«å± 座ãããã®ãããã°ã¨ãã£ãã·ã¥ããç®æã¯äºåº¦ã¨æ¸ãè¾¼ã¿ãããªãã®ã«ããã£ã¨ãã¼ã¿ãæããSSDã¯ãã£ãã·ã¥ã®ç®æãªã©èªèããªãã®ã§ããã¼ã¿æãã¨ãªããSSDã¯ç©ºã容éããããããªããæ¸ãè¾¼ã¿ãå¹³æºåãããSSDã容éã®ãªã®ãªè¿ä½¿ã£ã¦ããã¨ãçµæã¨ãã¦ãã¤ãåãç®æã«æ¸ãè¾¼ã¿ãç¶ãã¦ã寿å½ã縮ãããã¨ã«ãªãã
ã¢ããªã¤ãã人ã¯ãã£ãã·ã¥æ¶ããï¼ï¼å¹´ä»¥ä¸ãæ®ãã¦ãããããªãããã£ã¦ãããããªã¥ã¼ã ã»ã·ã£ãã¦ã³ãã¼ããããã ãããããªã¥ã¼ã ã»ã·ã£ãã¦ã³ãã¼ãåæã¨ãã¦ä¸æ¸ããã¦ã»ãããããªã¥ã¼ã ã»ã·ã£ãã¦ã³ãã¼ãªãWindowsã管çãã¦ããããã ããã
èµ·åç¨ã®ãã£ãã·ã¥ãªãã¨ããããã¢ãããã¼ãç¨ã®ãã£ãã·ã¥ã¯è¤æ°æºã¾ã£ã¦ããããã®ã§çµ¶å¯¾ã«æ¶ãã¦ã»ããã