Home
Help
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Operating System
Linux
/bin/rm: Argument list too long
Pages: [
1
]
Go Down
« previous
next »
Topic: /bin/rm: Argument list too long (Read 3826 times)
/bin/rm: Argument list too long
« on: October 16, 2008, 09:52:11 AM »
HRamesh
Newbie
iTrader: 0
Posts: 34
Hi,
I am getting /bin/rm: Argument list too long error while deleting files using below command:
rm -rf somenane*
Any help would be appreciated.
Ramesh
Logged
Re: /bin/rm: Argument list too long
« Reply #1 on: October 16, 2008, 12:30:16 PM »
Kailash
Administrator
Newbie
iTrader: 50
Posts: 286
It seems that the total number of files are high. You can check it using the following command:
ls -l | wc -l
Try to delete in a batch (500/1000 files) at a time.
Kailash
Logged
cPanel/WHM Configuration
|
Web Hosting Discussion Blog
Windows VPS Hosting
WordPress Premium Themes
Re: /bin/rm: Argument list too long
« Reply #2 on: July 22, 2010, 05:08:51 PM »
jantillon
Newbie
iTrader: 0
Posts: 1
If you are absolutely sure that you want to remove everything in the directory use xargs.
find . -name '*' | xargs rm
Or add a filestring to the wildcard
«
Last Edit: July 22, 2010, 05:12:25 PM by jantillon
»
Logged
Pages: [
1
]
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
WebHosting Related
-----------------------------
=> cPanel/WHM
=> WebsitePanel Support Forum
=> HELM and other Hosting control panels
=> Email Management Software & Email Clients
=> Domain Registration
=> VPS Hosting
=> Dedicated Server Hosting
=> Script/software installation and upgrade
=> Other Web Hosting Stuff
-----------------------------
Design and Development
-----------------------------
=> WordPress Themes
=> Programming
===> ASP
===> PHP
===> .NET Development
=> Site and Server Administration
===> Apache
===> Microsoft IIS
===> Security
=> Databases
===> MySQL
===> MSSQL server
===> MS Access
=> HTML, CSS and Website Design & Programming
=> Forums and Content Management
-----------------------------
Operating System
-----------------------------
=> Windows
=> Linux
-----------------------------
Search Engines
-----------------------------
=> Google
=> Yahoo
=> MSN
=> Other Search Engines
=> Search Engine optimization and Link Exchange
-----------------------------
Payment Gateways
-----------------------------
=> 2Checkout
=> PayPal and PayPal Manager (Verisign)
=> Other Payment Processors
-----------------------------
General
-----------------------------
=> How Tos
===> SmarterMail and other Email Servers
===> Linux
===> Windows
===> cPanel/WHM
===> HELM and other Hosting Control Panels
=> Free Services
=> Paid Services
=> Marketplace
===> Advertising Sales & Affiliate Programs
===> Forex Trading (Currency Trading)
-----------------------------
NEWS, Alert and Entertainment!!!
-----------------------------
=> Introduce yourself
=> Suggestions
=> General Chat
=> Contests
Untitled Document
Home
|
Forum
|
Blog
|
Wordpress KB
|
Discount Coupon Codes
Best Windows Hosting
|
Buy on Amazon
|
Amazon Store
|
Sitemap
|
Sitemap
|
Privacy Policy