- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change a large file to sereval small files
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
03-06-2008 08:11 PM
03-06-2008 08:11 PM
Change a large file to sereval small files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 08:51 PM
03-06-2008 08:51 PM
Re: Change a large file to sereval small files
Simplest possibility - comes with the operating
system:
split â split a file into pieces
Example at the command-line (to split your
archive into 5 MB files):
# split -b 5m myarch.tar.gz myarch
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 08:51 PM
03-06-2008 08:51 PM
Re: Change a large file to sereval small files
pieces, "man split" could be informative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 08:54 PM
03-06-2008 08:54 PM
Re: Change a large file to sereval small files
try the 'split' command.
and to get it back to original, use the 'join' command
if you need any further assistance, please let us know.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2008 10:15 PM - edited 02-08-2014 07:40 PM
03-06-2008 10:15 PM - edited 02-08-2014 07:40 PM
Re: Change a large file to several small files
>yogeeraj: to get it back to original, use the join command
I doubt join(1) will work. The opposite of split(1) is cat(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 12:23 AM
03-10-2008 12:23 AM
Re: Change a large file to sereval small files
several way:
split if you ant to simply split it by size, or by content you can use grep, sed, awk, perl, etc.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 01:28 AM
03-10-2008 01:28 AM
Re: Change a large file to sereval small files
Be careful when you use split and cat to split and concatenate files back again. The proper sequence of files is crucial and will prevent any form of data corruption.
Sorry again for this wrong reply and inconveniences.
kind regards
yogeeraj