How to automatic deleting files to a folder in ubuntu?
-
26-09-2019 - |
Question
How to automatic deleting files to a folder in ubuntu?
I need to do a script to delete files from a folder that is filled with the execution of a process on my server.
Solution
The proper command would be rm -rf folder/
to delete files recursively from that particular folder.
OTHER TIPS
If rm folder/*
isn't the answer you seek, could you clarify your question?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow