M
M
mts20502016-10-25 16:44:35
System administration
mts2050, 2016-10-25 16:44:35

How to delete files in linux folders?

There is a folder (/var/www/html/images) with subfolders containing files. How to delete all files with zero size?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2016-10-25
@mts2050

find /var/www/html/images -type f -size 0 -delete

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question