Answers for "linux delete content of folder"

C#
7

remove all files inside directory linux

# remove everything in a directory 
rm /path/to/dir/*
# remove all sub-directories and files
rm -r /path/to/dir/*
Posted by: Guest on July-10-2020
6

linux remove folder and all his content

rm -rf /path/to/directory
Posted by: Guest on February-29-2020
4

linux remove folder and all his content

rm -rf /path/to/directory/*
Posted by: Guest on February-29-2020
-1

linux remove folder and all his content

rm -rf /path/to/directory/{*,.*}
Posted by: Guest on February-29-2020
0

linux delete content of folder

//Deletes the folder including all its content
rm -r /path/to/directory/*
Posted by: Guest on June-15-2021

Code answers related to "linux delete content of folder"

C# Answers by Framework

Browse Popular Code Answers by Language