Howto delete all empty temporary files

Submitted by Tim on 23 Apr 2014 - 19:24

Due to an error my Drupal files folder ended up with 10.000's of empty temporary files like fileDN4n1t To remove all those files in one command you can use find find . -maxdepth 1 -type f -name 'file*' -size 0 -delete Before you try this you might want to try it without the delete command then you will get a list with the files affected -- Oh if you have the same. The error was in Advanged Aggregation module (advagg) and is fixed after an update

Add new comment

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.