Remove folder and all files inside it in Terminal

0

using rm can be very dangerous if you're not careful -- get in the habit of using mv instead

do this

mv .git ~/.Trash

instead of

rm -rf .git

the first command is safer on many levels

  • 0 posts
  • 0 subtopics
  • about 1 month ago by vince