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.

Was it helpful?

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
scroll top