Mac OS : Un peu de ménage …

19 x served & 11 x viewed

J’ai essayé de détecter l’espace disque utilisé avec des du …

$ du -sh Library/* | grep "G"
 15G	Library/Application Support
2,2G	Library/Caches
 15G	Library/Containers
4,8G	Library/Developer
  0B	Library/GameKit
 28K	Library/Google
108M	Library/Group Containers
6,5G	Library/Mail
1,1G	Library/iTunes

$ du -sh Library/Containers/* | grep "G"
2,0G	Library/Containers/com.apple.BKAgentService
 36K	Library/Containers/com.apple.Grab
 24K	Library/Containers/com.apple.STMExtension.GarageBand
 32K	Library/Containers/com.apple.dt.GitHubEnterpriseHostBuiltInExtension
 28K	Library/Containers/com.apple.dt.GitHubHostBuiltInExtension
 28K	Library/Containers/com.apple.dt.GitLabHostBuiltInExtension
 28K	Library/Containers/com.apple.dt.GitLabSelfHostBuiltInExtension
2,8G	Library/Containers/com.apple.mail
4,5G	Library/Containers/com.dummyapp.FileRecorder
 36K	Library/Containers/com.google.GoogleDrive.FinderSyncAPIExtension
136K	Library/Containers/com.icvt.JPEGminiLite
2,5M	Library/Containers/com.jixipix.GrungetasticMac
608K	Library/Containers/com.macpaw.Gemini

$ du -sh Library/Containers/com.apple.mail/* | grep "G"
2,8G	Library/Containers/com.apple.mail/Data

$ du -sh Library/Containers/com.apple.mail/Data/* | grep "G"
2,8G	Library/Containers/com.apple.mail/Data/Library

$ du -sh Library/Containers/com.apple.mail/Data/Library/* | grep "G"
2,4G	Library/Containers/com.apple.mail/Data/Library/Mail Downloads

$ du -sh Library/Containers/com.apple.mail/Data/Library/Mail\ Downloads/ | grep "G"
2,4G	Library/Containers/com.apple.mail/Data/Library/Mail Downloads/

J’ai donc supprimer tous les fichiers dans Library/Containers/com.apple.mail/Data/Library/Mail Downloads/ . J’ai gagné 2,4 Go.

Ensuite :

$ du -sh Library/Containers/com.dummyapp.FileRecorder/Data/Library/Application\ Support/com.dummyapp.FileRecorder/Thumb/*
 87M	Library/Containers/com.dummyapp.FileRecorder/Data/Library/Application Support/com.dummyapp.FileRecorder/Thumb/6E393749C958543AB2718DEC924E84A3
192K	Library/Containers/com.dummyapp.FileRecorder/Data/Library/Application Support/com.dummyapp.FileRecorder/Thumb/A6AE8B9EA019A64D69AF7FAB46558618
263M	Library/Containers/com.dummyapp.FileRecorder/Data/Library/Application Support/com.dummyapp.FileRecorder/Thumb/B5B54A131779E1D2BBA3F4964CA89093
3,8G	Library/Containers/com.dummyapp.FileRecorder/Data/Library/Application Support/com.dummyapp.FileRecorder/Thumb/B80792E501352D7A363983A9C18896D7
171M	Library/Containers/com.dummyapp.FileRecorder/Data/Library/Application Support/com.dummyapp.FileRecorder/Thumb/E9A9CA3D23362CA6810F2030A6FD056E

$ ls -l Library/Containers/com.dummyapp.FileRecorder/Data/Library/Application\ Support/com.dummyapp.FileRecorder/Thumb/
total 0
drwxr-xr-x    439 User  staff    14048 17 mar  2013 6E393749C958543AB2718DEC924E84A3
drwxr-xr-x      3 User  staff       96 16 mar  2013 A6AE8B9EA019A64D69AF7FAB46558618
drwxr-xr-x   1391 User  staff    44512 16 mar  2013 B5B54A131779E1D2BBA3F4964CA89093
drwxr-xr-x  40690 User  staff  1302080 17 mar  2013 B80792E501352D7A363983A9C18896D7
drwxr-xr-x    896 User  staff    28672 17 mar  2013 E9A9CA3D23362CA6810F2030A6FD056E

Vu la date mars 2013 et l’espace …. j’ai supprimé ! J’ai gagné 4,3 Go.

Ensuite :

$ du -sh Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/*
2,0G	Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books
  0B	Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Downloads
  0B	Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Temporary
  0B	Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Updates

Je j’ai rien fait car c’est ma bibliothèque .

On poursuit, mais rien à me mettre sous la dent :

$ du -sh Library/Application\ Support/* | grep "G"
3,6G	Library/Application Support/Bento
1,8M	Library/Application Support/GarageBand
7,3G	Library/Application Support/Garmin
2,2M	Library/Application Support/Gimp
6,5M	Library/Application Support/GitHub Desktop
692K	Library/Application Support/GoPro
374M	Library/Application Support/Google
 72K	Library/Application Support/Google Earth
8,9M	Library/Application Support/Growl
 12K	Library/Application Support/JGoodies
  0B	Library/Application Support/com.GoPro.goproapp
 52K	Library/Application Support/com.GoPro.goproapp.GoProAlertService
160K	Library/Application Support/com.GoPro.goproapp.GoProAnalyticsService
 40K	Library/Application Support/com.GoPro.goproapp.GoProDeviceService
  0B	Library/Application Support/com.GoPro.goproapp.GoProExporterService
8,0K	Library/Application Support/com.GoPro.goproapp.GoProIDService
4,0K	Library/Application Support/com.GoPro.goproapp.GoProMediaFolderService
135M	Library/Application Support/com.GoPro.goproapp.GoProMediaService
  0B	Library/Application Support/com.GoPro.goproapp.GoProMsgBus
849M	Library/Application Support/com.GoPro.goproapp.GoProMusicService
 12K	Library/Application Support/com.GoPro.goproapp.GoProPushNotificationService
  0B	Library/Application Support/com.GoPro.goproapp.GoProShareService
242M	Library/Application Support/com.GoPro.goproapp.GoProUpdateService
 72M	Library/Application Support/com.gopro.GoPro-Studio
$ du -sh Library/Application\ Support/Garmin/*
 57M	Library/Application Support/Garmin/BaseCamp
  0B	Library/Application Support/Garmin/Bookmarks
105M	Library/Application Support/Garmin/Devices
7,2G	Library/Application Support/Garmin/Express
  0B	Library/Application Support/Garmin/Garmin ANT Agent
  0B	Library/Application Support/Garmin/Garmin WebUpdater
 64K	Library/Application Support/Garmin/GarminConnect
4,0K	Library/Application Support/Garmin/InstallationClient-Id
  0B	Library/Application Support/Garmin/Symboles de waypoint personnalisés
 19M	Library/Application Support/Garmin/Training Center
4,0K	Library/Application Support/Garmin/VIRB Edit
$ du -sh Library/Application\ Support/Garmin/Express/*
4,0K	Library/Application Support/Garmin/Express/AccountDictionaryDatastore.plist
 51M	Library/Application Support/Garmin/Express/AppUpdates
  0B	Library/Application Support/Garmin/Express/Events
102M	Library/Application Support/Garmin/Express/Firmware
4,0K	Library/Application Support/Garmin/Express/IgnoredDevices.plist
208K	Library/Application Support/Garmin/Express/LanguagePacks
648K	Library/Application Support/Garmin/Express/Logs
6,6G	Library/Application Support/Garmin/Express/Maps
436M	Library/Application Support/Garmin/Express/MediaCache
336K	Library/Application Support/Garmin/Express/RegisteredDevices
$ du -sh Library/Application\ Support/Garmin/Express/Maps/*
6,6G	Library/Application Support/Garmin/Express/Maps/ActiveEU.2019.20

Conclusion :

Sur Mac c’est très facile de supprimer 10 Go de fichiers inutiles …

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.