delete file with terminal code example
Example 1: how delete folder terminal mac
rm -rf some_dir
-r "recursive" -f "force" (suppress confirmation messages)
Be careful!
Example 2: terminal delete fle
rm MyFile.rtf
rm -rf some_dir
-r "recursive" -f "force" (suppress confirmation messages)
Be careful!
rm MyFile.rtf