Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu delete contents of folder

To remove all non-hidden files and sub-directories (along with all of their contents) in a 
directory use:
rm -r /path/to/directory/*
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #delete #contents #folder
ADD COMMENT
Topic
Name
7+2 =