Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

split command

  • 02-10-2002 2:40pm
    #1
    Registered Users, Registered Users 2 Posts: 23,212 ✭✭✭✭


    Hi All,

    I am attempting to split a 2Gig file into smaller chunks for transfer across an internal network. I was going to use the split command, but as this is a binary file, will it work? Also, will the cat command re-combine the file for me?

    I don't have a smaller file to try it on and nobody here (in work) can give me a straight answer.

    Thanks,

    TD.


Comments

  • Registered Users, Registered Users 2 Posts: 5,741 ✭✭✭jd


    I think I vaguely remember using split on a oracle export file..
    (this was to get over a os size restriction)
    I cant think of any reason why it wouldn't work..
    actually it seems to
    I gzipped a file, split it, catted it together and unzipped and all seemd ok...


  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    You could try dd'ing the file into smaller chunks and then recombining with the same.......*

    *Typedef likes dd


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    I meant to post here earlier: A search on the Linux index at Google for "binary split" turned up a couple of results for this. Try adding "fsplit" and/or "msplit" to the query.

    adam


  • Registered Users, Registered Users 2 Posts: 5,741 ✭✭✭jd


    came across this

    "A tar archive, compressed file or executable program can be split with the -b option and reassembled without damage. "

    iespecify the size of eac file in bytes (which is what I did with my gzipped example above)


  • Registered Users, Registered Users 2 Posts: 23,212 ✭✭✭✭Tom Dunne


    Originally posted by dahamsta
    A search on the Linux index at Google for "binary split" turned up a couple of results for this. Try adding "fsplit" and/or "msplit" to the query.

    adam

    Thanks adam, but it's not Linux, shock horror!

    It's HP-Unix 10.2 and it doesn't have most of the Linux tools I am used to.

    I'm going to try good old gzip and split as jd has suggested.

    Thanks for the reassurance!


  • Advertisement
Advertisement