Ok thanks for your answer. It works for the RPC command.
But I still don't see my wallets loaded I don't understand why:
2024-03-20T14:20:00Z Using wallet directory /Volumes/Crucial X8/bitcoin/Bitcoin/testnet3/testnet3/wallets
2024-03-20T14:20:00Z init message: Verifying wallet(s)…
2024-03-20T14:20:00Z Using /16 prefix for IP bucketing
2024-03-20T14:20:00Z init message: Loading P2P addresses…
2024-03-20T14:20:00Z Loaded 6497 addresses from peers.dat 19ms
$ bitcoin-cli -testnet -datadir=/Volumes/Crucial\ X8/bitcoin/Bitcoin/testnet3 listwallets
[
]
Don't have any ideas about why.