csrutil disable
sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Je remercie les dieux du copier coller !!! C'est quoi cette commande !!!De retour dans ta session > passe la commande (copier-coller) :
Bloc de code:sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
iMac-de-Olivier:~ titou$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
Password:
1,0K /home
846M /usr
492M /.Spotlight-V100
1,0K /net
16K /.DS_Store
0B /.PKInstallSandboxManager-SystemSoftware
2,6M /bin
4,0K /installer.failurerequests
0B /Network
1,2M /sbin
0B /.file
0B /etc
0B /var
6,7G /Library
7,1G /System
4,0K /.fseventsd
3,2G /private
273M /.DocumentRevisions-V100
0B /.vol
du: /Users/titou/.Trash/2018-07-21/Recup SSi/SSI-New-Age/PROMOTION-SSI/ScribusPortable/App/Scribus/share/doc/COPYING: No such file or directory
146G /Users
926M /Applications
1,3G /opt
4,5K /dev
0B /Volumes
0B /tmp
0B /.dbfseventsd
0B /cores
iMac-de-Olivier:~ titou$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *960.2 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 960.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +960.0 GB disk1
Physical Store disk0s2
1: APFS Volume OSX SSD 733.7 GB disk1s1
2: APFS Volume Preboot 43.9 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS Volume VM 20.5 KB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_CoreStorage TM-IMAC-2To 2.0 TB disk2s2
3: Apple_Boot Boot OS X 134.2 MB disk2s3
/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 CCC MBPro Corinne 999.2 GB disk3s2
3: Apple_Boot Recovery HD 650.0 MB disk3s3
/dev/disk4 (external, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS TM-IMAC-2To +2.0 TB disk4
Logical Volume on disk2s2
140E96C4-4264-46BF-BB13-E207A5678785
Unlocked Encrypted
df -H
iMac-de-Olivier:~ titou$ df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 960G 734G 225G 77% 902410 9223372036853873397 0% /
devfs 199k 199k 0B 100% 672 0 100% /dev
/dev/disk1s4 960G 20k 225G 1% 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
/dev/disk3s2 999G 621G 379G 63% 3493480 4291473799 0% /Volumes/CCC MBPro Corinne
/dev/disk4 2.0T 588G 1.4T 30% 2460920 4292506359 0% /Volumes/TM-IMAC-2To
diskutil resizeVolume disk3s2 799g jhfs+ Clone 0b ; diskutil list disk3
diskutil resizeVolume disk3s2 799g jhfs+ Clone 0b ; diskutil list disk3
Resizing to 799000000000 bytes and adding 1 partition
Started partitioning on disk3s2 CCC MBPro Corinne
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk3s2
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking multi-linked directories
Checking volume bitmap
Checking volume information
The volume CCC MBPro Corinne appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Shrinking file system
Copying booter
Modifying partition map
Initialized /dev/rdisk3s4 as a 186 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished partitioning on disk3s2 CCC MBPro Corinne
/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 CCC MBPro Corinne 799.0 GB disk3s2
3: Apple_Boot Recovery HD 650.0 MB disk3s5
4: Apple_HFS Clone 200.2 GB disk3s4
/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 CCC MBPro Corinne 799.0 GB disk3s2
3: Apple_Boot Recovery HD 650.0 MB disk3s5
4: Apple_HFS Clone 200.2 GB disk3s4
diskutil ap convert disk3s4
iMac-de-Olivier:~ titou$ diskutil ap convert disk3s4
Started APFS operation on disk3s4 Clone
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Clone" backed by the GPT partition disk3s4
The target is a data disk; it is not a macOS system disk
Found APFS EFI driver /usr/standalone/i386/apfs.efi to install into the APFS Container
The target is not encrypted
Unmounting disk3s4
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk3s4
Reporting pre-conversion statistics
Reporting post-conversion statistics
Successfully finished conversion from HFS to APFS
Successful conversion in commit mode so will switch type to APFS
Setting type of disk3s4 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk3s4 to terminate old content driver
Expecting the new APFS Container at Physical Store disk3s4
Confirmed existence of new unencrypted APFS Volume disk5s1
Mounting APFS Volume disk5s1
APFS Volume mount attempt result was 0
Exiting conversion operations with error code 0
Disk from APFS operation: disk5s1
Finished APFS operation on disk3s4 Clone
caffeinate -dimsu &
diskutil info /
iMac-de-Olivier:~ titou$ diskutil info /
Device Identifier: disk1s1
Device Node: /dev/disk1s1
Whole: No
Part of Whole: disk1
Volume Name: OSX SSD
Mounted: Yes
Mount Point: /
Partition Type: 41504653-0000-11AA-AA11-00306543ECAC
File System Personality: APFS
Type (Bundle): apfs
Name (User Visible): APFS
Owners: Enabled
OS Can Be Installed: Yes
Booter Disk: disk1s2
Recovery Disk: disk1s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Volume UUID: 19F5DEC9-5180-40B8-B3B6-51E94ADFEF06
Disk / Partition UUID: 19F5DEC9-5180-40B8-B3B6-51E94ADFEF06
Disk Size: 960.0 GB (959987367936 Bytes) (exactly 1874975328 512-Byte-Units)
Device Block Size: 4096 Bytes
Volume Total Space: 960.0 GB (959987367936 Bytes) (exactly 1874975328 512-Byte-Units)
Volume Used Space: 735.1 GB (735129731072 Bytes) (exactly 1435800256 512-Byte-Units) (76.6%)
Volume Free Space: 224.9 GB (224857636864 Bytes) (exactly 439175072 512-Byte-Units) (23.4%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: Internal
Removable Media: Fixed
Solid State: Yes
Hardware AES Support: No
Volume Name: OSX SSD
Mounted: Yes
Mount Point: /
diskutil list
iMac-de-Olivier:~ titou$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *960.2 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 960.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +960.0 GB disk1
Physical Store disk0s2
1: APFS Volume OSX SSD 733.8 GB disk1s1
2: APFS Volume Preboot 43.9 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS Volume VM 20.5 KB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_CoreStorage TM-IMAC-2To 2.0 TB disk2s2
3: Apple_Boot Boot OS X 134.2 MB disk2s3
/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 CCC MBPro Corinne 799.0 GB disk3s2
3: Apple_Boot Recovery HD 650.0 MB disk3s3
4: Apple_APFS Container disk4 200.2 GB disk3s4
/dev/disk4 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +200.2 GB disk4
Physical Store disk3s4
1: APFS Volume Clone 179.1 GB disk4s1
2: APFS Volume PreBoot 21.0 MB disk4s2
3: APFS Volume Recovery 515.5 MB disk4s3
/dev/disk5 (external, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS TM-IMAC-2To +2.0 TB disk5
Logical Volume on disk2s2
140E96C4-4264-46BF-BB13-E207A5678785
Unlocked Encrypted
diskutil mount disk4s2 ; bless --info /Vol*/Clone