- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 04:32 AM
08-15-2000 04:32 AM
When executing the find command as in the example below, the command appears to terminate prematurely. At times, depending on what I am searching for I do get some returns, but inevitably the command terminates the same way without completely searching the directory hierarchy.
Does anyone have any ideas?
Thanks in advance!
Peter
EXAMPLE:
ns01# find . -name "*.mpeg" -exec rm -i {} ;
find: cannot open .: Value too large for defined data type
ns01#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 04:41 AM
08-15-2000 04:41 AM
Re: find command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 04:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 05:32 AM
08-15-2000 05:32 AM
Re: find command
This is common if there are a large number of arguments. You can avoid this by using xargs in place of exec. This is actually "kinder" on system resources. Do something like:
# find . -name "*.mpeg"|xargs -n100 rm -i {}
This will do 100 files at a time until the list is exhausted.
See the man pages for xargs.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 05:33 AM
08-15-2000 05:33 AM
Re: find command
Just working on a hunch, are any of the *.mpeg files greater then 2GB in size?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:26 AM
08-15-2000 06:26 AM
Re: find command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2000 04:07 AM
08-16-2000 04:07 AM
Re: find command
Thanks a bunch for all your help! Chris & James the comments you made helped me isolate the problem. The homes which I had to clean reside on a Network Appliance, and are mounted to an Intel Box running Solaris. When I instead mounted the Network Appliance to my HP B2000 running HP-UX 11.0, I was able to perform my searches without any problems at all. The comments about the kernal perameters are what clued me in to making this change. Thanks again!
Peter