I don't know why you need to use sudo. If the folder is in your own home directory, just do: rm -rf ~/.wine