Binary Sludge
  • Home

Perl

A collection of 1 post
file descriptors

How to Delete Millions of Files (Linux)

Deleting millions of files from a directory can be a daunting task. rm -rf will expand the to glob every file in the directory and return an error such as "Argument list too long". find . -type f -delete will try to get a list of all files before
01 Jan 2012
Page 1 of 1
Binary Sludge © 2026
Powered by Ghost