Thread
:
How do we verify if directory is empty?
View Single Post
#
2
(View Single Post)
3rd January 2012
jb_daefo
Spam Deminer
Join Date: May 2008
Posts: 303
Code:
/bin/rm -rf /temp_1 mkdir -p /temp_1 # if you wanted it to remain.
might work. One typographical error, though, and you'd best restore from backups... as you probably are aware. (I don't use your second method hardly ever).
__________________
FreeBSD 13-STABLE
jb_daefo
View Public Profile
Find all posts by jb_daefo