Sujet : Re: [Help] script shell, marche plus
De : mv (at) *nospam* gmail.com.invalid (M.V.)
Groupes : fr.comp.sys.mac.programmationDate : 06. Dec 2024, 16:12:12
Autres entêtes
Organisation : M.V. & Co
Message-ID : <viv48c$2dd1d$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : MacCafe/3.03.1 ("blue mountain") (macOS 10.14.6 (18G9323) - MacBookAir7,2)
In message <
viq4pf$1101u$1@dont-email.me>, on Wednesday, 4 December 2024 at
18:50, I wrote:
Pour l'éjection avec le fichier .sh, il y a noté dans le terminal,
Unmount failed for Clone Mini - Données
Si je remplaçais Données par Data comme noté dans Utilitaire de disque,
est-ce que ce serait mieux.
Après un test, j'ai la même info :
Unmount failed for Clone Mini - Data
>
Tu dois faire une erreur dans le nom quelque part.
>
Quand le volume est monté, tu cliques dessus dans le Finder
pour le sélectionner, puis sur la touche Entrée puis cmd + c
pour copier le nom exact et tu colles le résultat dans le script
(avec des guillemets autour car il y a des espaces dans le nom).
>
Ou bien : dans Terminal, tu listes les volumes avec :
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
diskutil list
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
et tu copies le nom du volume en question avant de la coller dans le
script .sh
Plus simple encore : une fois que tous les volumes sont montés, tu crées un
script avec :
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
tell application "Finder" to get name of every disk whose ejectable is true
return result
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Tu copies la liste et tu la colles dans le script .sh : comme ça, tu auras les
noms exacts des différents volumes.
-- Michel Vauquois - <http://michelvauquois.fr><https://www.facebook.com/michel.vauquois.3>Le "tendre penchant" peut se manifester à tout moment et en tout lieu, au bal,à la fête foraine, dans l'autobus, plus rarement au cours d'une mêlée ouvertedans le Tournoi des cinq nations. (Pierre Desproges)
Date | Sujet | # | | Auteur |
30 Nov 24 | [Help] script shell, marche plus | 47 | | Brice |
30 Nov 24 |  Re: [Help] script shell, marche plus | 1 | | M.V. |
30 Nov 24 |  Re: [Help] script shell, marche plus | 2 | | M.V. |
30 Nov 24 |   Re: [Help] script shell, marche plus | 1 | | Brice |
1 Dec 24 |  Re: [Help] script shell, marche plus | 43 | | M.V. |
1 Dec 24 |   Re: [Help] script shell, marche plus | 42 | | Brice |
1 Dec 24 |    Re: [Help] script shell, marche plus | 41 | | M.V. |
1 Dec 24 |     Re: [Help] script shell, marche plus | 40 | | Brice |
1 Dec 24 |      Re: [Help] script shell, marche plus | 39 | | M.V. |
3 Dec 24 |       Re: [Help] script shell, marche plus | 38 | | Brice |
3 Dec 24 |        Re: [Help] script shell, marche plus | 37 | | M.V. |
4 Dec 24 |         Re: [Help] script shell, marche plus | 36 | | Brice |
4 Dec 24 |          Re: [Help] script shell, marche plus | 35 | | M.V. |
5 Dec 24 |           Re: [Help] script shell, marche plus | 1 | | Brice |
6 Dec 24 |           Re: [Help] script shell, marche plus | 33 | | M.V. |
12 Dec 24 |            Re: [Help] script shell, marche plus | 32 | | Brice |
12 Dec 24 |             Re: [Help] script shell, marche plus | 31 | | M.V. |
13 Dec 24 |              Re: [Help] script shell, marche plus | 30 | | Brice |
13 Dec 24 |               Re: [Help] script shell, marche plus | 29 | | M.V. |
14 Dec 24 |                Re: [Help] script shell, marche plus | 28 | | Brice |
15 Dec 24 |                 Re: [Help] script shell, marche plus | 27 | | M.V. |
16 Dec 24 |                  Re: [Help] script shell, marche plus | 26 | | Brice |
16 Dec 24 |                   Re: [Help] script shell, marche plus | 5 | | M.V. |
16 Dec 24 |                    Re: [Help] script shell, marche plus | 4 | | Brice |
16 Dec 24 |                     Re: [Help] script shell, marche plus | 1 | | M.V. |
17 Dec 24 |                     Re: [Help] script shell, marche plus | 2 | | M.V. |
18 Dec 24 |                      Re: [Help] script shell, marche plus | 1 | | Brice |
16 Dec 24 |                   Re: [Help] script shell, marche plus | 20 | | M.V. |
18 Dec 24 |                    Re: [Help] script shell, marche plus | 19 | | Brice |
19 Dec 24 |                     Re: [Help] script shell, marche plus | 18 | | M.V. |
19 Dec 24 |                      Re: [Help] script shell, marche plus | 17 | | Brice |
19 Dec 24 |                       Re: [Help] script shell, marche plus | 16 | | M.V. |
20 Dec 24 |                        Re: [Help] script shell, marche plus | 15 | | Brice |
20 Dec 24 |                         Re: [Help] script shell, marche plus | 14 | | M.V. |
20 Dec 24 |                          Re: [Help] script shell, marche plus | 13 | | Brice |
20 Dec 24 |                           Re: [Help] script shell, marche plus | 12 | | M.V. |
20 Dec 24 |                            Re: [Help] script shell, marche plus | 4 | | kurtz le pirate |
20 Dec 24 |                             Re: [Help] script shell, marche plus | 3 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 2 | | Brice |
21 Dec 24 |                               Re: [Help] script shell, marche plus | 1 | | M.V. |
21 Dec 24 |                            Re: [Help] script shell, marche plus | 7 | | Brice |
21 Dec 24 |                             Re: [Help] script shell, marche plus | 5 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 1 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 1 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 2 | | M.V. |
22 Dec 24 |                               Re: [Help] script shell, marche plus | 1 | | Brice |
21 Dec 24 |                             Re: [Help] script shell, marche plus | 1 | | M.V. |