You may find yourself frustrated if, under Linux
, you can't locate the command to erase the contents of a folder without deleting the file read itself
This FAQ will show you how to do so.
Erasing the Contents of a Linux Folder
Go to the directory, and enter:
rm -rf *
Alternatively, you can enter:
rm -rf your_directory/*
Image: © quka - Shutterstock.com
Published by aakai1056
Latest update on December 3, 2017 at 03:38 PM by owilson.