M 
		
				
				
			
		diskutil list-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk3         250.8 GB   disk0s2
/dev/disk1 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +1.8 GB     disk1
   1:                 Apple_APFS Container disk2         1.8 GB     disk1s1
/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1.8 GB     disk2
                                 Physical Store disk1s1
   1:                APFS Volume macOS Base System       1.6 GB     disk2s1
   2:                APFS Volume Preboot                 77.2 MB    disk2s2
/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk3
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Donné... 141.3 GB   disk3s1
   2:                APFS Volume Preboot                 91.2 MB    disk3s2
   3:                APFS Volume Recovery                1.1 GB     disk3s3
   4:                APFS Volume VM                      1.1 GB     disk3s4
   5:                APFS Volume Macintosh HD - Données  32.8 KB    disk3s5
/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk4
   1:                        EFI EFI                     209.7 MB   disk4s1
   2:                  Apple_HFS My Book Studio          999.8 GB   disk4s2
-bash-3.2#df -H-bash-3.2# df -H
Filesystem     Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk2s1   1.8G   1.6G   118M    94%   53040   17458240    0%   /
devfs          196k   196k     0B   100%     664          0  100%   /dev
/dev/disk2s2   1.8G    77M   118M    40%      46   17511234    0%   /System/Volumes/Preboot
tmpfs          2.7G    25M   2.7G     1%    2014     997986    0%   /System/Volumes/Data
tmpfs           34M   4.1k    34M     1%       7     999993    0%   /Volumes
/dev/disk3s1   251G   141G   107G    57%  458437 2448666923    0%   /Volumes/Macintosh HD - Données - Données
/dev/disk3s5   251G    33k   107G     1%       4 2449125356    0%   /Volumes/Macintosh HD - Données
/dev/disk2s3   1.8G    29k   118M     1%       4   17511276    0%   /System/Volumes/Data/private/tmp/tmp-mount-GkIgud
/dev/disk4s2   1000   143G   857G    15%  868400 4294098879    0%   /Volumes/My Book Studio
-bash-3.2#diskutil resizeVolume disk4s2 800g jhfs+ "Clone - Données" 0b ; diskutil list disk4-bash-3.2# diskutil resizeVolume disk4s2 800g jhfs+ "Clone - Données" 0b ; diskutil list disk4
Resizing to 800000000000 bytes and adding 1 partition
Started partitioning on disk4s2 (My Book Studio)
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk4s2
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 My Book Studio appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Shrinking file system
Modifying partition map
Initialized /dev/rdisk4s3 as a 186 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished partitioning on disk4s2 (My Book Studio)
/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk4
   1:                        EFI EFI                     209.7 MB   disk4s1
   2:                  Apple_HFS My Book Studio          800.0 GB   disk4s2
   3:                  Apple_HFS Clone - Données         199.7 GB   disk4s3
-bash-3.2#diskutil ap convert disk4s3-bash-3.2# diskutil ap convert disk4s3
Converting the volume on disk4s3 to an APFS Volume on an APFS Container
Started APFS operation on disk4s3 (Clone - Données)
Converting HFS Volume to an APFS Container which will export one APFS Volume
The target is the Journaled HFS+ volume "Clone - Données" backed by the GPT partition disk4s3
The target is 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 disk4s3
Starting conversion from HFS to APFS
Performing apfs_hfs_convert -x --verbose=0x400 --efi /usr/standalone/i386/apfs.efi /dev/disk4s3
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 disk4s3 to APFS
Changing the physical disk partition type in shared mode
Partition modification attempt count was 1
Opening and closing disk4s3 to terminate old content driver
Expecting the new APFS Container at Physical Store disk4s3
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 disk4s3 (Clone - Données)
-bash-3.2#caffeinate -dimsu & cp -av /Vol*/"Macintosh HD - Données - Données"/* /Vol*/"Clone - Données"df -H-bash-3.2# df -H
Filesystem     Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk2s1   1.8G   1.6G   118M    94%   53040   17458240    0%   /
devfs          200k   200k     0B   100%     676          0  100%   /dev
/dev/disk2s2   1.8G    77M   118M    40%      46   17511234    0%   /System/Volumes/Preboot
tmpfs          2.7G    30M   2.7G     2%    2015     997985    0%   /System/Volumes/Data
tmpfs           34M   4.1k    34M     1%       8     999992    0%   /Volumes
/dev/disk3s1   251G   141G   107G    57%  458437 2448666923    0%   /Volumes/Macintosh HD - Données - Données
/dev/disk3s5   251G    33k   107G     1%       4 2449125356    0%   /Volumes/Macintosh HD - Données
/dev/disk2s3   1.8G    29k   118M     1%       4   17511276    0%   /System/Volumes/Data/private/tmp/tmp-mount-GkIgud
/dev/disk4s2   800G   143G   657G    18%  868402 4294098877    0%   /Volumes/My Book Studio
/dev/disk5s1   200G   144G    55G    73%  461487 1949659553    0%   /Volumes/Clone - Données
-bash-3.2#diskutil list-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk3         250.8 GB   disk0s2
/dev/disk1 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +1.8 GB     disk1
   1:                 Apple_APFS Container disk2         1.8 GB     disk1s1
/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1.8 GB     disk2
                                 Physical Store disk1s1
   1:                APFS Volume macOS Base System       1.6 GB     disk2s1
   2:                APFS Volume Preboot                 77.2 MB    disk2s2
/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk3
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD - Donné... 141.3 GB   disk3s1
   2:                APFS Volume Preboot                 91.2 MB    disk3s2
   3:                APFS Volume Recovery                1.1 GB     disk3s3
   4:                APFS Volume VM                      1.1 GB     disk3s4
   5:                APFS Volume Macintosh HD - Données  32.8 KB    disk3s5
-bash-3.2# 
	