LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-08-2004, 03:19 AM   #1
matko
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Angry remove a lot of files


I need to remove more than 10 000 files, but the report of rm -rf * is:
too many parameters,

when I remove few files (200), there is no problem with removing other 9800 files.

where's the problem? is it hardware problem? (low size of RAM or etc.) or is it linux problem?
 
Old 07-08-2004, 03:33 AM   #2
Goala
Member
 
Registered: May 2004
Location: Merida (Spain)
Distribution: Debian
Posts: 89

Rep: Reputation: 15
it's a linux limit.

You can try using masks, for example:

rm [0-9]*
rm [a-m]*
rm [n-z]*....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Advice - Apt-get will remove a lot Ingla Linux - General 0 11-13-2005 12:47 PM
Synchronising two copies of one lot of files oneandoneis2 Linux - General 2 07-05-2005 08:21 AM
How do I rename a lot of files at once? suresheva31 Linux - General 5 10-12-2004 02:57 PM
A lot of files disapeared in menu raela Linux - General 1 02-22-2004 06:47 PM
A LOT of files NetScripter Linux - General 3 08-22-2003 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration