- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File and Directory Copy Help
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
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-07-2003 08:56 PM
08-07-2003 08:56 PM
I am copying a large number of files and directories (home directories of users) to a new location on the same machine. I normally use the 2 commands below and as far as I remember it has not let me down in the past. Now to the problem. It is that the some of the usernames of the owners are not getting copied over. Am pretty "brain-dead" athe moment, and cannot figure it out. :-)
Thanks in advance,
Regards,
Emil
cd olddir
find . -depth -print | cpio -pd newdir
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 09:14 PM
08-07-2003 09:14 PM
SolutionBecause of industry standards and interoperability goals, cpio does not support the archival of files larger than 2GB or files that have user/group IDs greater than 60K. Files with user/group IDs greater than 60K are archived and restored under the user/group ID of the current process.
check to see if/which cpio patches you have installed.
Path names are restricted to PATH_MAX characters (see
If /dev/tty is not accessible, cpio issues a complaint and exits.
The -idr option does not make empty directories. I don't think the -p option creates empty directories either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 09:25 PM
08-07-2003 09:25 PM
Re: File and Directory Copy Help
You are exactly right about the UID being over 60K. The UID below are fine.
So, how do I copy them over?
Regards,
Emil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 09:36 PM
08-07-2003 09:36 PM
Re: File and Directory Copy Help
you'll have to check that you have the appropriate patches installed for your version of the OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 09:41 PM
08-07-2003 09:41 PM
Re: File and Directory Copy Help
you'll have to check that you have the appropriate patches installed for your version of the OS.