Home > Bookmarks, Linux > Linux – Deleting folder recursively

Linux – Deleting folder recursively

September 22nd, 2007 Leave a comment Go to comments

rm -rf directories

Will delete the existing directory named ‘directories‘ and all directories and files below it. Even if it runs into an exception that it would usually prompt for user interaction.

the r is recursive and the f is force.

  1. No comments yet.
  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.387575 sec (gzip)