header

Argument list too long



By now I’ve figured out that if I need to google something more than once, it’s important enough to write down.

Trying to rm a (large) list of files on my *nux box led to this
[root@sam /dir/ectory]# rm 1.*
-su: /bin/rm: Argument list too long

A google search led to doing this as a solution, which works.
[root@sam /dir/ectory]# find . -name '1\.*' | xargs rm



Leave a Comment

blogtimes