7

Deleting Non-empty Directory with smbclient

view full story
linux-howto

http://unix.stackexchange.com – How can I remove a non-empty directory with smbclient? I have tried the following: 1) rm Result: NT_STATUS_NO_SUCH_FILE listing [dir_path] 2) recurse;rm Result: No Error but also nothing happens! The folder remains as before! 3) rmdir Result: NT_STATUS_DIRECTORY_NOT_EMPTY removing remote directory file [dir_path] 4) recurse;rmdir Result: NT_STATUS_DIRECTORY_NOT_EMPTY removing remote directory file [dir_path] 5) rm [dir_name]/*;rmdir [dir_name] Result: NT_STATUS_OBJECT_NAME_NOT_FOUND deleting remote file [sub_dir_path] NT_STATUS_DIRECTORY_NOT_EMPTY removing remote directory file [di (HowTos)