SolarLinux
...when open source meets science
Pagine
Home page
Science
giovedì 8 settembre 2011
How to remove a large number of files in a directory
If you want to remove a large number of files with the "
rm
" command you probably will encounter this error:
"too long argument list"
We can solve this problem by using the
find
command instead as follows:
find . -name '*' | xargs rm
Nessun commento:
Posta un commento
Post più recente
Post più vecchio
Home page
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento