- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Finding files bigger than 2GB
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
Discussions
Forums
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
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
тАО06-11-2002 09:19 AM
тАО06-11-2002 09:19 AM
I have to copy (cpio) files from one disk array to another, but because of cpio limitation of 2Gb filesize, I have to make sure no files are bigger than 2Gb.
I have been trying many command lines things using ll with grep and print$ but I have not been able to come up with something that will work.
Can someone help me on this one please.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:29 AM
тАО06-11-2002 09:29 AM
Re: Finding files bigger than 2GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:29 AM
тАО06-11-2002 09:29 AM
Re: Finding files bigger than 2GB
Of course you could get GNU's tar, which supports 2GB+ files:
http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:31 AM
тАО06-11-2002 09:31 AM
Re: Finding files bigger than 2GB
find / -size +2000000000c
Good Luck,
Karen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:33 AM
тАО06-11-2002 09:33 AM
Re: Finding files bigger than 2GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:34 AM
тАО06-11-2002 09:34 AM
Re: Finding files bigger than 2GB
do like this
ls -l | awk '{if ($6 >> "2147483648") print $NF $6}'
this will list the files greater than 2 Gb under the directory where you run this command. Store it in afile and thecheck the filenames etc.
You can use GNU tar to overcome 2.0GB limitation
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 09:36 AM
тАО06-11-2002 09:36 AM
Re: Finding files bigger than 2GB
# find . -type f -size -2000000000c | cpio -pvdumx /
Test first ..
# find . -type f -size -2000000000c -exec ll {} \;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2002 11:32 AM
тАО06-11-2002 11:32 AM
Re: Finding files bigger than 2GB
It's working perfectly.