Answers for "remove all in directory"

2

delete all files in a directory command

rd /s/q Foldername
Posted by: Guest on May-26-2021
-1

delete all folders except one linux

find * -maxdepth 0 -name 'b' -prune -o -exec rm -rf '{}' ';'
Posted by: Guest on February-24-2021

Code answers related to "remove all in directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language