diff --git a/lib/rfd.rb b/lib/rfd.rb
index <HASH>..<HASH> 100644
--- a/lib/rfd.rb
+++ b/lib/rfd.rb
@@ -38,7 +38,7 @@ module Rfd
     end
 
     def D
-      File.delete current_item.path
+      FileUtils.rm_rf current_item.path
       ls
     end
D should be able to rm directories as well