MacBook-Pro:~ evecombes$ diskutil eraseVolume free null disk1s3 ; diskutil eraseVolume free null disk1s4 ; diskutil resizeVolume disk1s2 0b ; diskutil list disk1
Started erase on disk1s3 Clone
Unmounting disk
Finished erase on disk1
Unable to find disk for disk1s4
Resizing to full size (fit to fill)
Started partitioning on disk1s2 SAUVEGARDE01
Verifying the disk
Verifying file system
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 SAUVEGARDE01 appears to be OK
File system check exit code is 0
Resizing
Finished partitioning on disk1s2 SAUVEGARDE01
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS SAUVEGARDE01 499.8 GB disk1s2
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS SAUVEGARDE01 499.8 GB disk1s2
MacBook-Pro:~ evecombes$