Hello, Im trying: if smbclient //server/service -U user -password test -c 'rmdir testedir' then echo works else echo dont works fi But if command rmdir is success or not i got works... Any ideias? echo $? aways returns 0 too. Thanks, Juliano Rodrigues.
Seemingly Similar Threads
- smbclient, cannot delete non-empty directory, no error message
- smbclient, cannot delete non-empty directory, no error message
- smbclient, cannot delete non-empty directory, no error message
- Change in smbclient between 3.0.24 and 3.0.25c breaks third party app
- unix charset = LOCALE