- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- create tar-ball from a file containing listing of ...
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
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
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
тАО02-28-2005 07:18 AM
тАО02-28-2005 07:18 AM
tar cvf - | cd
Thanks!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:24 AM
тАО02-28-2005 07:24 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:24 AM
тАО02-28-2005 07:24 AM
Re: create tar-ball from a file containing listing of what to tar
or since the file list has absolute path names...
cd /folder_to_move_them_to
tar cvf - `cat /root/files_to_move` | tar xvf -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:26 AM
тАО02-28-2005 07:26 AM
Re: create tar-ball from a file containing listing of what to tar
I am not sure I understand the problem, why not use cpio -p instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:29 AM
тАО02-28-2005 07:29 AM
Re: create tar-ball from a file containing listing of what to tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:30 AM
тАО02-28-2005 07:30 AM
Re: create tar-ball from a file containing listing of what to tar
tar cvf - $(cat /root/files_to_move)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:35 AM
тАО02-28-2005 07:35 AM
Re: create tar-ball from a file containing listing of what to tar
what might/should work is ...
cat files_to_move | cpio -pdmvu /folder_to_move_to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:43 AM
тАО02-28-2005 07:43 AM
Re: create tar-ball from a file containing listing of what to tar
cat /root/files_to_move | xargs -i cp -rp {} /someNFSmount
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 03:08 AM
тАО03-07-2005 03:08 AM
Re: create tar-ball from a file containing listing of what to tar
Example:
box1:
I want to move /etc/hosts to box2 under the mounted file system /backup as /backup/etc/hosts.
box1 mounts box2's /backup file system as local mountpoint /backup.
I am still having issues - HELP!