Sujet unique Si le stockage « Système » prend trop de place

Bonjour a tous!

après avoir lu toutes les pages et trouver les sujets de discussion très intéressant, je viens vers vous car je n'arrive toujours pas à solutionner le problème de moi même.

J'ai actuellement un MacbookPro de 128go (c'est très peu je sais..) et comme vous tous, je suis constamment en recherche de giga. Je peux voir dans le stockage que mon "système " me prends 70,92 go de place, ce qui est énorme au vue de mon espace total !

Je vous envoie mes données du Terminal dans le message suivant.

MERCI d'avance pour votre aide !
(PS : j'ai des notions en informatique mais ne suis pas expert, désolé d'avance si j'ai mal procédé)

Damian.

Voici mes données recueillies en tapant les multiples codes précédemment listés:

ls -la /

Bloc de code:
MacBook-Pro-de-Damien:~ Damian$ ls -la /
total 93
drwxr-xr-x   32 root  wheel   1024  1 jan 22:21 .
drwxr-xr-x   32 root  wheel   1024  1 jan 22:21 ..
-rw-rw-r--    1 root  admin   8196 11 fév 12:11 .DS_Store
d--x--x--x    9 root  wheel    288 20 fév 11:19 .DocumentRevisions-V100
dr-xr-xr-t@   2 root  wheel     64 22 fév  2015 .HFS+ Private Directory Data?
drwxr-xr-x    2 root  admin     64  8 jan  2015 .PKInstallSandboxManager
drwxr-xr-x@   2 root  wheel     64 29 fév 16:58 .PKInstallSandboxManager-SystemSoftware
drwx------    5 root  wheel    160 22 fév  2015 .Spotlight-V100
d-wx-wx-wt    2 root  wheel     64  2 mar  2015 .Trashes
----------    1 root  admin      0 17 aoû  2018 .file
drwx------  543 root  wheel  17376 29 fév 16:53 .fseventsd
drwxr-xr-x    2 root  wheel     64 25 nov  2018 .vol
drwxrwxr-x+  63 root  admin   2016 24 fév 21:07 Applications
drwxr-xr-x+  64 root  wheel   2048 11 fév 21:11 Library
drwxr-xr-x    2 root  wheel     64 25 nov  2018 Network
drwxr-xr-x@   5 root  wheel    160 21 sep  2018 System
drwxr-xr-x    5 root  admin    160 25 nov  2018 Users
drwxr-xr-x@   3 root  wheel     96 29 fév 16:58 Volumes
drwxr-xr-x@  37 root  wheel   1184 21 sep  2018 bin
drwxrwxr-t    2 root  admin     64 25 nov  2018 cores
dr-xr-xr-x    3 root  wheel   4384 20 fév 11:18 dev
lrwxr-xr-x@   1 root  wheel     11 25 nov  2018 etc -> private/etc
dr-xr-xr-x    2 root  wheel      1 29 fév 17:02 home
-rw-r--r--    1 root  wheel    313 17 aoû  2018 installer.failurerequests
dr-xr-xr-x    2 root  wheel      1 29 fév 17:02 net
drwxr-xr-x@   3 root  wheel     96 12 oct  2015 opt
drwxr-xr-x    6 root  wheel    192 25 nov  2018 private
-rwxr-xr-x    1 root  wheel  26496 29 oct  2016 reInstallWT.bin
drwxr-xr-x@  63 root  wheel   2016 25 nov  2018 sbin
lrwxr-xr-x@   1 root  wheel     11 25 nov  2018 tmp -> private/tmp
drwxr-xr-x@  10 root  wheel    320 25 nov  2018 usr
lrwxr-xr-x@   1 root  wheel     11 25 nov  2018 var -> private/var

df -H

Bloc de code:
MacBook-Pro-de-Damien:~ Damian$ df -H
Filesystem      Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1    121G   104G    15G    88%  978991 9223372036853796816    0%   /
devfs           190k   190k     0B   100%     644                   0  100%   /dev
/dev/disk1s4    121G   2.1G    15G    13%       2 9223372036854775805    0%   /private/var/vm
map -hosts        0B     0B     0B   100%       0                   0  100%   /net
map auto_home     0B     0B     0B   100%       0                   0  100%   /home
MacBook-Pro-de-Damien:~ Damian$

--------------------------------
Note du modérateur de service (ici Aliboron) :

Merci de mettre les copies de compte-rendus de Terminal entre des balises de "Bloc de code". On les trouve dans la barre d'outils, dans le menu déroulant aux trois petits points :
Bloc de code.png
 
Dernière édition par un modérateur:
sudo du -sh /

Bloc de code:
MacBook-Pro-de-Damien:~ Damian$ sudo du -sh /
Password:
du: /.Spotlight-V100: Operation not permitted
du: /Library/Application Support/com.apple.TCC: Operation not permitted
du: /private/var/db/dslocal/nodes: Operation not permitted
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.Safari/SafariFamily: Operation not permitted
du: /private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.routined/dv: Operation not permitted
du: /private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /Users/Damian/Library/Application Support/MobileSync: Operation not permitted
du: /Users/Damian/Library/Application Support/CallHistoryTransactions: Operation not permitted
du: /Users/Damian/Library/Application Support/com.apple.TCC: Operation not permitted
du: /Users/Damian/Library/Application Support/CallHistoryDB: Operation not permitted
du: /Users/Damian/Library/IdentityServices: Operation not permitted
du: /Users/Damian/Library/Messages: Operation not permitted
du: /Users/Damian/Library/HomeKit: Operation not permitted
du: /Users/Damian/Library/Mail: Operation not permitted
du: /Users/Damian/Library/Safari: Operation not permitted
du: /Users/Damian/Library/Suggestions: Operation not permitted
du: /Users/Damian/Library/Containers/com.apple.VoiceMemos: Operation not permitted
du: /Users/Damian/Library/Containers/com.apple.Home: Operation not permitted
du: /Users/Damian/Library/Containers/com.apple.Safari: Operation not permitted
du: /Users/Damian/Library/Containers/com.apple.iChat: Operation not permitted
du: /Users/Damian/Library/Containers/com.apple.mail: Operation not permitted
du: /Users/Damian/Library/Containers/com.apple.news: Operation not permitted
du: /Users/Damian/Library/Containers/com.apple.stocks: Operation not permitted
du: /Users/Damian/Library/PersonalizationPortrait: Operation not permitted
du: /Users/Damian/Library/Metadata/CoreSpotlight: Operation not permitted
du: /Users/Damian/Library/Cookies: Operation not permitted
du: /Users/Damian/Library/Caches/com.apple.safaridavclient: Operation not permitted
du: /Users/Damian/Library/Caches/CloudKit/com.apple.Safari: Operation not permitted
du: /Users/Damian/Library/Caches/com.apple.Safari: Operation not permitted
 96G    /

sudo du -sh /.*

Bloc de code:
MacBook-Pro-de-Damien:~ Damian$ sudo du -sh /.*
du: /./.Spotlight-V100: Operation not permitted
du: /./Library/Application Support/com.apple.TCC: Operation not permitted
du: /./private/var/db/dslocal/nodes: Operation not permitted
du: /./private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /./private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.Safari/SafariFamily: Operation not permitted
du: /./private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /./private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /./private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.routined/dv: Operation not permitted
du: /./private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted
du: /./private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted
du: /./private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted
du: /./private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /./Users/Damian/Library/Application Support/MobileSync: Operation not permitted
du: /./Users/Damian/Library/Application Support/CallHistoryTransactions: Operation not permitted
du: /./Users/Damian/Library/Application Support/com.apple.TCC: Operation not permitted
du: /./Users/Damian/Library/Application Support/CallHistoryDB: Operation not permitted
du: /./Users/Damian/Library/IdentityServices: Operation not permitted
du: /./Users/Damian/Library/Messages: Operation not permitted
du: /./Users/Damian/Library/HomeKit: Operation not permitted
du: /./Users/Damian/Library/Mail: Operation not permitted
du: /./Users/Damian/Library/Safari: Operation not permitted
du: /./Users/Damian/Library/Suggestions: Operation not permitted
du: /./Users/Damian/Library/Containers/com.apple.VoiceMemos: Operation not permitted
du: /./Users/Damian/Library/Containers/com.apple.Home: Operation not permitted
du: /./Users/Damian/Library/Containers/com.apple.Safari: Operation not permitted
du: /./Users/Damian/Library/Containers/com.apple.iChat: Operation not permitted
du: /./Users/Damian/Library/Containers/com.apple.mail: Operation not permitted
du: /./Users/Damian/Library/Containers/com.apple.news: Operation not permitted
du: /./Users/Damian/Library/Containers/com.apple.stocks: Operation not permitted
du: /./Users/Damian/Library/PersonalizationPortrait: Operation not permitted
du: /./Users/Damian/Library/Metadata/CoreSpotlight: Operation not permitted
du: /./Users/Damian/Library/Cookies: Operation not permitted
du: /./Users/Damian/Library/Caches/com.apple.safaridavclient: Operation not permitted
du: /./Users/Damian/Library/Caches/CloudKit/com.apple.Safari: Operation not permitted
du: /./Users/Damian/Library/Caches/com.apple.Safari: Operation not permitted
 96G    /.
du: /../.Spotlight-V100: Operation not permitted
du: /../Library/Application Support/com.apple.TCC: Operation not permitted
du: /../private/var/db/dslocal/nodes: Operation not permitted
du: /../private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /../private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.Safari/SafariFamily: Operation not permitted
du: /../private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /../private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /../private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/0/com.apple.routined/dv: Operation not permitted
du: /../private/var/folders/36/0bhhrsw91xjcdl3j00xv2vbc0000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted
du: /../private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted
du: /../private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted
du: /../private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /../Users/Damian/Library/Application Support/MobileSync: Operation not permitted
du: /../Users/Damian/Library/Application Support/CallHistoryTransactions: Operation not permitted
du: /../Users/Damian/Library/Application Support/com.apple.TCC: Operation not permitted
du: /../Users/Damian/Library/Application Support/CallHistoryDB: Operation not permitted
du: /../Users/Damian/Library/IdentityServices: Operation not permitted
du: /../Users/Damian/Library/Messages: Operation not permitted
du: /../Users/Damian/Library/HomeKit: Operation not permitted
du: /../Users/Damian/Library/Mail: Operation not permitted
du: /../Users/Damian/Library/Safari: Operation not permitted
du: /../Users/Damian/Library/Suggestions: Operation not permitted
du: /../Users/Damian/Library/Containers/com.apple.VoiceMemos: Operation not permitted
du: /../Users/Damian/Library/Containers/com.apple.Home: Operation not permitted
du: /../Users/Damian/Library/Containers/com.apple.Safari: Operation not permitted
du: /../Users/Damian/Library/Containers/com.apple.iChat: Operation not permitted
du: /../Users/Damian/Library/Containers/com.apple.mail: Operation not permitted
du: /../Users/Damian/Library/Containers/com.apple.news: Operation not permitted
du: /../Users/Damian/Library/Containers/com.apple.stocks: Operation not permitted
du: /../Users/Damian/Library/PersonalizationPortrait: Operation not permitted
du: /../Users/Damian/Library/Metadata/CoreSpotlight: Operation not permitted
du: /../Users/Damian/Library/Cookies: Operation not permitted
du: /../Users/Damian/Library/Caches/com.apple.safaridavclient: Operation not permitted
du: /../Users/Damian/Library/Caches/CloudKit/com.apple.Safari: Operation not permitted
du: /../Users/Damian/Library/Caches/com.apple.Safari: Operation not permitted
 96G    /..
 12K    /.DS_Store
 27M    /.DocumentRevisions-V100
  0B    /.HFS+ Private Directory Data
  0B    /.PKInstallSandboxManager
  0B    /.PKInstallSandboxManager-SystemSoftware
du: /.Spotlight-V100: Operation not permitted
  0B    /.Trashes
  0B    /.file
 29M    /.fseventsd
  0B    /.vol
 
Dernière édition par un modérateur:
Bonjour a tous,
J'ai également ce soucis d'espace. Après avoir lu nombreuses pages sur le sujet et testé les lignes de codes dans le terminal, j'ai réussi à libérer quelques gigas par ci par là, mais rien de conséquent et je bloque..

J'espère que vous pourrez m'apporter votre précieuse aide.

Voici les différentes commandes
Bloc de code:
Last login: Mon Mar  2 18:08:28 on ttys000
MacBook-Pro-de-Margot:~ margotm$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         250.7 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.7 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            216.5 GB   disk1s1
   2:                APFS Volume Preboot                 45.5 MB    disk1s2
   3:                APFS Volume Recovery                510.5 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            OmniDiskSweeper        +67.1 MB    disk2

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  Apple_HFS Disque Margot 1         999.8 GB   disk3s2

MacBook-Pro-de-Margot:~ margotm$

Bloc de code:
Last login: Mon Mar  2 18:08:43 on ttys000
MacBook-Pro-de-Margot:~ margotm$ sw_vers -productVersion
10.14.6
MacBook-Pro-de-Margot:~ margotm$

Bloc de code:
Last login: Mon Mar  2 18:29:47 on ttys000
MacBook-Pro-de-Margot:~ margotm$ csrutil status
System Integrity Protection status: enabled.
MacBook-Pro-de-Margot:~ margotm$


J'ai également désactivé le SIP et fait la manip :
sudo find -x / -d 1 -regex '.[^\.\].' -exec sudo du -shx {} +

Voici les infos

Bloc de code:
Last login: Mon Mar  2 18:48:05 on ttys000
MacBook-Pro-de-Margot:~ margotm$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:

  0B    /.HFS+ Private Directory Data
1,0K    /home
455M    /usr
495M    /.Spotlight-V100
1,0K    /net
8,0K    /.DS_Store
  0B    /.PKInstallSandboxManager
  0B    /.PKInstallSandboxManager-SystemSoftware
2,5M    /bin
  0B    /installer.failurerequests
  0B    /Network
1,0M    /sbin
  0B    /.file
  0B    /etc
  0B    /var
6,2G    /Library
 10G    /System
4,0K    /.OSInstallerMessages
192K    /.fseventsd
4,1G    /private
  0B    /.vol
156G    /Users
 24G    /Applications
5,0K    /dev
  0B    /Volumes
  0B    /tmp
  0B    /cores
MacBook-Pro-de-Margot:~ margotm$
MacBook-Pro-de-Margot:~ margotm$
Merci d'avance
 
Dernière édition:
Bonsoir Margot

Il y a 216 Go d'occupation de Macintosh HD. En regard > je comptablise 201,1 Gi = 216 Go de fichiers catalogués.

- il y a autant de blocs occupés que de fichiers recensés. Pas d'espace occupé fantôme.​

Ce qui prend surtout de la place > c'est le répertoire des Utilisateurs : 156 Gi = 168 Go (il faut noter aussi 24 Gi = 26 Go d'Applications).

- passe la commande :​
Bloc de code:
sudo du -sh /Users/*

  • qui mesure (en Gi = gibibytes : base 2) les dossiers de comptes dans les Utilisateurs

Poste le retour.
 
Bonjour Damian

Tes messages de samedi m'avaient échappé.

- refais signe ici-même si tu souhaites toujours une enquête sur l'occupation de ton volume Macintosh HD.​
 
Bonsoir Margot

Il y a 216 Go d'occupation de Macintosh HD. En regard > je comptablise 201,1 Gi = 216 Go de fichiers catalogués.

- il y a autant de blocs occupés que de fichiers recensés. Pas d'espace occupé fantôme.​

Ce qui prend surtout de la place > c'est le répertoire des Utilisateurs : 156 Gi = 168 Go (il faut noter aussi 24 Gi = 26 Go d'Applications).

- passe la commande :​
Bloc de code:
sudo du -sh /Users/*

  • qui mesure (en Gi = gibibytes : base 2) les dossiers de comptes dans les Utilisateurs

Poste le retour.

Bonjour Macomaniac,

Voici le retour

Bloc de code:
Last login: Tue Mar  3 11:24:29 on ttys000
MacBook-Pro-de-Margot:~ margotm$ sudo du -sh /Users/*
Password:
4,0K    /Users/Guest
212M    /Users/Shared
167G    /Users/margotm
MacBook-Pro-de-Margot:~ margotm$
 
Dernière édition par un modérateur:
C'est donc le dossier de compte margotm qui recèle 167 Gi = 179 Go de données.

- on affine l'examen. Passe la commande :​
Bloc de code:
sudo du -sh ~/*

  • qui mesure (en Gi) les sous-dossiers du dossier margotm

Poste le retour.
 
Bloc de code:
Last login: Tue Mar  3 11:24:53 on ttys000
MacBook-Pro-de-Margot:~ margotm$ sudo du -sh ~/*
Password:
1,2M    /Users/margotm/Applications
488K    /Users/margotm/Creative Cloud Files
932M    /Users/margotm/Desktop
 15G    /Users/margotm/Documents
2,4G    /Users/margotm/Downloads
114G    /Users/margotm/Library
  0B    /Users/margotm/MacKeeper Backups
936K    /Users/margotm/Movies
5,3G    /Users/margotm/Music
 29G    /Users/margotm/Pictures
  0B    /Users/margotm/Public
  0B    /Users/margotm/iCloud Drive (archive)
  0B    /Users/margotm/iCloud Drive (archive) - 1
  0B    /Users/margotm/iCloud Drive (archive) - 2
348K    /Users/margotm/[email protected] Creative Cloud Files
MacBook-Pro-de-Margot:~ margotm$
 
Je comprends à présent tes questions concernant ce qui peut bien plomber l'espace du volume. C'est là :

- Bibliothèque (non affichée par le Finder par défaut) : 114 Gi = 122 Go

On pousse l'enquête. Passe la commande :
Bloc de code:
sudo du -sh ~/Library/*

  • qui mesure (en Gi) les contenus de ta Bibliothèque de compte

Poste le retour.
 
Voici le retour :

Bloc de code:
Last login: Tue Mar  3 12:58:19 on ttys000
MacBook-Pro-de-Margot:~ margotm$ sudo du -sh ~/Library/*
Password:
Sorry, try again.
Password:
4,5M    /Users/margotm/Library/Accounts
1,2M    /Users/margotm/Library/Address Book Plug-Ins
  0B    /Users/margotm/Library/Application Scripts
 45G    /Users/margotm/Library/Application Support
2,1M    /Users/margotm/Library/Assistant
  0B    /Users/margotm/Library/Assistants
  0B    /Users/margotm/Library/Audio
 39G    /Users/margotm/Library/Caches
 20M    /Users/margotm/Library/Calendars
  0B    /Users/margotm/Library/CallServices
  0B    /Users/margotm/Library/ColorPickers
  0B    /Users/margotm/Library/ColorSync
4,0K    /Users/margotm/Library/Colors
  0B    /Users/margotm/Library/Compositions
 25G    /Users/margotm/Library/Containers
260K    /Users/margotm/Library/Cookies
 32K    /Users/margotm/Library/CoreData
 48K    /Users/margotm/Library/CoreFollowUp
 96K    /Users/margotm/Library/Dictionaries
  0B    /Users/margotm/Library/Family
  0B    /Users/margotm/Library/Favorites
 24K    /Users/margotm/Library/FileProvider
  0B    /Users/margotm/Library/FontCollections
193M    /Users/margotm/Library/Fonts
  0B    /Users/margotm/Library/GameKit
4,6M    /Users/margotm/Library/Google
3,8M    /Users/margotm/Library/Group Containers
1,2M    /Users/margotm/Library/HomeKit
464K    /Users/margotm/Library/IdentityServices
  0B    /Users/margotm/Library/Input Methods
  0B    /Users/margotm/Library/Internet Plug-Ins
232K    /Users/margotm/Library/Keyboard
  0B    /Users/margotm/Library/Keyboard Layouts
3,1M    /Users/margotm/Library/KeyboardServices
 16M    /Users/margotm/Library/Keychains
1,3M    /Users/margotm/Library/LanguageModeling
 24K    /Users/margotm/Library/LaunchAgents
157M    /Users/margotm/Library/Logs
1,3G    /Users/margotm/Library/Mail
  0B    /Users/margotm/Library/Maps
2,4G    /Users/margotm/Library/Messages
3,6M    /Users/margotm/Library/Metadata
  0B    /Users/margotm/Library/Mobile Documents
496K    /Users/margotm/Library/Passes
 12K    /Users/margotm/Library/PersonalizationPortrait
724K    /Users/margotm/Library/Personas
  0B    /Users/margotm/Library/PhotoshopCrashes
8,0K    /Users/margotm/Library/PreferencePanes
544M    /Users/margotm/Library/Preferences
2,1M    /Users/margotm/Library/Printers
144K    /Users/margotm/Library/PubSub
 57M    /Users/margotm/Library/Safari
  0B    /Users/margotm/Library/SafariSafeBrowsing
2,1M    /Users/margotm/Library/Saved Application State
  0B    /Users/margotm/Library/Screen Savers
  0B    /Users/margotm/Library/ScreenRecordings
  0B    /Users/margotm/Library/Services
8,0K    /Users/margotm/Library/Sharing
  0B    /Users/margotm/Library/Sounds
 44K    /Users/margotm/Library/Spelling
 24M    /Users/margotm/Library/Suggestions
1,3M    /Users/margotm/Library/SyncedPreferences
  0B    /Users/margotm/Library/VoiceTrigger
  0B    /Users/margotm/Library/Voices
  0B    /Users/margotm/Library/WebKit
 44K    /Users/margotm/Library/com.apple.internal.ck
  0B    /Users/margotm/Library/iMovie
 64K    /Users/margotm/Library/iTunes
 12K    /Users/margotm/Library/studentd
MacBook-Pro-de-Margot:~ margotm$
 
Il y a 3 localisations importantes -->

- Application Support 45 Gi = 48 Go
- Caches 39 Gi = 42 Go
- Containers 25 Gi = 27 Go

On va enquêter une localisation après l'autre (car leurs contenus sont prolixes). Passe la commande :
Bloc de code:
sudo du -sh ~/Lib*/Ap*\ Sup*/*

  • qui mesure (en Gi) les contenus de Application Support

Poste le retour.
 
Bloc de code:
Last login: Tue Mar  3 16:37:32 on ttys000
MacBook-Pro-de-Margot:~ margotm$ sudo du -sh ~/Lib*/Ap*\ Sup*/*
Password:
9,4M    /Users/margotm/Library/Application Support/AddressBook
5,9G    /Users/margotm/Library/Application Support/Adobe
4,0K    /Users/margotm/Library/Application Support/AdobeWLCMCache.dat
 76K    /Users/margotm/Library/Application Support/App Store
  0B    /Users/margotm/Library/Application Support/CEF
1,0M    /Users/margotm/Library/Application Support/CallHistoryDB
  0B    /Users/margotm/Library/Application Support/CallHistoryTransactions
8,0K    /Users/margotm/Library/Application Support/CloudDocs
  0B    /Users/margotm/Library/Application Support/CoreParsec
360K    /Users/margotm/Library/Application Support/CrashReporter
4,0K    /Users/margotm/Library/Application Support/DiskImages
 52K    /Users/margotm/Library/Application Support/Dock
772K    /Users/margotm/Library/Application Support/Facebook
2,5G    /Users/margotm/Library/Application Support/Google
2,6M    /Users/margotm/Library/Application Support/Knowledge
2,8M    /Users/margotm/Library/Application Support/MacKeeper
4,0K    /Users/margotm/Library/Application Support/MacKeeper 3
 36G    /Users/margotm/Library/Application Support/MobileSync
  0B    /Users/margotm/Library/Application Support/OpenVR
  0B    /Users/margotm/Library/Application Support/Preview
3,5M    /Users/margotm/Library/Application Support/Quick Look
8,0K    /Users/margotm/Library/Application Support/ReiBoot
207M    /Users/margotm/Library/Application Support/Skype
109M    /Users/margotm/Library/Application Support/Slack
704K    /Users/margotm/Library/Application Support/Smart Code ltd
273M    /Users/margotm/Library/Application Support/Spotify
544K    /Users/margotm/Library/Application Support/SyncServices
 18M    /Users/margotm/Library/Application Support/WhatsApp
  0B    /Users/margotm/Library/Application Support/accountsd
4,4M    /Users/margotm/Library/Application Support/com.apple.ProtectedCloudStorage
128K    /Users/margotm/Library/Application Support/com.apple.TCC
 12K    /Users/margotm/Library/Application Support/com.apple.backgroundtaskmanagementagent
1,7M    /Users/margotm/Library/Application Support/com.apple.sbd
304K    /Users/margotm/Library/Application Support/com.apple.sharedfilelist
316K    /Users/margotm/Library/Application Support/com.apple.spotlight
4,0K    /Users/margotm/Library/Application Support/com.apple.spotlight.Shortcuts
220K    /Users/margotm/Library/Application Support/com.apple.touristd
4,0K    /Users/margotm/Library/Application Support/com.mackeeper.MacKeeper
4,0K    /Users/margotm/Library/Application Support/com.mackeeper.MacKeeper.Helper
4,0K    /Users/margotm/Library/Application Support/com.mackeeper.MacKeeper.MKCleanService
 11M    /Users/margotm/Library/Application Support/com.operasoftware.Opera
 12K    /Users/margotm/Library/Application Support/com.tenorshare.ReiBootPro
  0B    /Users/margotm/Library/Application Support/dmd
  0B    /Users/margotm/Library/Application Support/iCloud
  0B    /Users/margotm/Library/Application Support/iLifeMediaBrowser
324K    /Users/margotm/Library/Application Support/icdd
4,0K    /Users/margotm/Library/Application Support/org.videolan.vlc
4,0K    /Users/margotm/Library/Application Support/tenorshare
164K    /Users/margotm/Library/Application Support/videosubscriptionsd
MacBook-Pro-de-Margot:~ margotm$
 
Voici la localisation principale -->

- MobileSync : 36 Gi = 39 Go. Il s'agit de sauvegardes de téléphone portable​

=> veux-tu les supprimer ?
 
Oui ça ne me dérange pas de supprimer, une nouvelle sauvegarde plus récente et moins lourde se fera quand je brancherai mon téléphone à mon ordi ?
 
Oui. Passe la commande (copier-coller) :
Bloc de code:
sudo rm -rf ~/Library/"Application Support"/MobileSync/*

  • qui vide le dossier MobileSync de ses contenus

- la commande passée (commande muette) > passe une commande :​
Bloc de code:
df -H /

  • qui affiche (en Go) l'occupation du volume démarré (et l'espace disponible global dans le Conteneur apfs)

Poste le retour.
 
Bloc de code:
Last login: Tue Mar  3 19:09:56 on console
MacBook-Pro-de-Margot:~ margotm$ sudo rm -rf ~/Library/"Application Support"/MobileSync/*
Password:
MacBook-Pro-de-Margot:~ margotm$ df -H /
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   251G   159G    90G    64%  990501 9223372036853785306    0%   /
MacBook-Pro-de-Margot:~ margotm$
 
L'occupation a baissé de 216 Go => 159 Go. Gain : 57 Go.

- on poursuit l'enquête sur le dossier Caches. Passe la commande :​
Bloc de code:
sudo du -sh ~/Lib*/Caches/*

  • qui mesure (en Gi) les contenus de Caches

Poste le retour.
 
Bonsoir Damian

La collection d'« operation not permitted » de tes tableaux => signe l'activation du SIP (protocole de sécurisation). Il bloque l'accès en lecture de la commande du à des dossiers protégés. En faussant les résultats et en rendant les tableaux illisibles.

----------

Pour désactiver le SIP > redémarre > les 2 touches ⌘R (cmd R) tenues pressées de l'écran noir => à la  = démarrage sur l'OS de secours. Tu obtiens un écran affichant une fenêtre de 4 Utilitaires macOS. Va à la barre de menus supérieure de l'écran > Menu Utilitaires > sous-menu : Terminal.

Lance-le et passe la commande :
Bloc de code:
csrutil disable

  • qui désactive le SIP

Cela fait > quitte le Terminal > va à : Menu  > Redémarrer

----------

De retour dans ta session > passe d'abord la commande simple :
Bloc de code:
diskutil list

  • qui affiche le tableau des disques avec leur configuration

Poste le retour dans un Bloc de code.
 
Voici ce que m'affiche le Terminal après ses gestes :

Bloc de code:
Last login: Tue Mar  3 23:05:09 on console
MacBook-Pro-de-Damien:~ Damian$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         121.1 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +121.1 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            101.3 GB   disk1s1
   2:                APFS Volume Preboot                 44.5 MB    disk1s2
   3:                APFS Volume Recovery                512.4 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

MacBook-Pro-de-Damien:~ Damian$
 

Sujets similaires

Réponses
30
Affichages
5K
macOS
Membre supprimé 1060554
M
Réponses
7
Affichages
3K
macOS
Membre supprimé 1138547
M
Réponses
15
Affichages
2K
macOS
Membre supprimé 1060554
M
Réponses
2
Affichages
798
Réponses
3
Affichages
1K
Mac
Membre supprimé 1060554
M