[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] delete all files but leave folder structure intact
Paul Cartwright wrote:
> On 4/19/2011 9:33 AM, Lightner, Jeff wrote:
>> Picky picky
>>
>> Then don't ever do "rm -rf .*"
>
>
> especially as ROOT:)
centosvmfoo> su
Password:
root at centosvm/home/esoteric/foo> rm -rf .*
rm: cannot remove `.' or `..'
rm: cannot remove `.' or `..'
Still won't remove the directory you're sitting in. :)
--
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson