Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How To Split A File In Two Rar Parts? Post 302887676 by anime12345 on Monday 10th of February 2014 08:12:31 AM
Old 02-10-2014
Quote:
Originally Posted by rbatte1
How do you plan on generating the rar? The tools for that probably have options to explore for maximum file/media size. I would suggest that the options you have given on your command line have included all the files in your current directory.

Can you past the command you have used?



You can achieve a rough & ready process with split

Use this to split on a number of bytes, then concatenate the files together (in the right order) to recreate the original:-

Code:
compress avicii.mp3
split -b 5m avicii.mp3.Z avicii

Obviously, adjust 5m to a suitable size. The files created will be called avicii.aa, avicii.ab, etc.

Now binary ftp the files and use cat or the DOS equivalent type to join them back up. You can open a .Z file with tools such as WinZip. So either:-
Code:
cat avicii.aa avicii.ab > avicii.mp3.Z

or:-
Code:
type avicii.aa avicii.ab > avicii.mp3.Z

Does this solve your issue? My workaround is not as neat as using the tools to create a rar file though.




Regards,
Robin

Hey Hi!!! Ok so The Whatbox.ca Seed box Has Its own File Manager where i can rename the file and create a new folder!!

there is one already default folder called "Files" (where the downloaded content is saved). Anyway i moved Avici.mp3 from the files folder to outside.

This Is The command I Used to rar the mp3 file.

rar a Avici.mp3.rar

Now When i type the rar command and press enter it also adds the following bash files mentioned above with it which is really annoying!!!Smilie

So This is what i want To Do, Rar avici.mp3 in two parts (Rename it as Part1.rar and Part2.rar) without those annoying bash files.. and the output should be such as wen i download both parts and extract Part 1 (Part 2 also gets extracted Automatically) and avici.mp3 as the extracted data!! (I am A Newbie Sorry If I Sound Like A fool)
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

file zip,rar,tar,compress,uncompress,unzip,unrar

i want know how to compress and uncompress file using unix, compress uncompress,zip,unzip,rar,unrar,how its work and more about this.:confused: (1 Reply)
Discussion started by: ismael xavier
1 Replies

2. UNIX for Dummies Questions & Answers

how to extract a .rar file

Hi ! I have a abc.rar file. I want to extract this file.. pls help. OS Details : SunOS papillon 5.10 Generic_127111-11 sun4us sparc FJSV,GPUZC-M (1 Reply)
Discussion started by: dashok.83
1 Replies

3. UNIX for Dummies Questions & Answers

Unzip a .rar file

Hi, How to unzip a .rar file in unix. I tried unrar command but it doesnt work. Any help will be appreciated Thanks (10 Replies)
Discussion started by: irudayaraj
10 Replies

4. UNIX for Dummies Questions & Answers

Move a .zip file to a unix system in .rar format

Hi all, need help here in moving a .zip file into a suse system and want it to be in .rar format. How can i do this? (1 Reply)
Discussion started by: mena
1 Replies

5. UNIX for Dummies Questions & Answers

Using a rar file on a suse linux

Hi, I have this file in .rar format and need to use it on a suse linux system. I have transfered the file into the system and tried to unpack it using unrar command but i got this l# unrar e Alarm.rar UNRAR 3.51 freeware Copyright (c) 1993-2005 Alexander Roshal ??? - the file header... (5 Replies)
Discussion started by: mena
5 Replies

6. Shell Programming and Scripting

Incrementing parts of ten digits number by parts

I have number in file which contains date and serial number: 2013101000. The last two digits are serial number (00). So maximum of serial number is 100. After reaching 100 it becomes 00 with incrementing 10 which is day with max 31. after reaching 31 it becomes 00 and increments 10... (31 Replies)
Discussion started by: Natalie
31 Replies

7. Shell Programming and Scripting

Split file into n parts.

Hi all: I have a 5-column tab-separated file. The only thing that I want to do with it is to split it. However, I want to split it with a 80/20 proportion -- randomized, if possible. I know that something like : awk '{print $0 ""> "file" NR}' RS='' input-file will work, but it only... (6 Replies)
Discussion started by: owwow14
6 Replies

8. UNIX for Dummies Questions & Answers

Split a file into parts only if the first field is different

Hi, I have a file like this: aaa 123 aaa 223 aaa 225 bbb 332 bbb 423 bbb 6755 bbb 324 ccc 112 ccc 234 ccc 897 Which I need to split into several files, something like split -l 3 but the way that the lines with the same names would only go into one file: (7 Replies)
Discussion started by: coppuca
7 Replies

9. Shell Programming and Scripting

Split line in 4 parts

Hi Guys, I have file A.txt 1 2 3 4 5 6 7 8 9 10 11 Want Output :- 1 2 3 (3 Replies)
Discussion started by: pareshkp
3 Replies

10. UNIX for Beginners Questions & Answers

Split the all files in to 8 parts in a folder

Hi, I have different files and i need to split the files in that folder split in to 8 parts with equal number of lines....! any fastest way of doing this in awk. for an example i have a file called "BillingDetails_BaseFile.csv" with total line count 65536 and i need to split in to 8 parts... (1 Reply)
Discussion started by: Raghuram717
1 Replies
URI::Split(3)						User Contributed Perl Documentation					     URI::Split(3)

NAME
URI::Split - Parse and compose URI strings SYNOPSIS
use URI::Split qw(uri_split uri_join); ($scheme, $auth, $path, $query, $frag) = uri_split($uri); $uri = uri_join($scheme, $auth, $path, $query, $frag); DESCRIPTION
Provides functions to parse and compose URI strings. The following functions are provided: ($scheme, $auth, $path, $query, $frag) = uri_split($uri) Breaks up a URI string into its component parts. An "undef" value is returned for those parts that are not present. The $path part is always present (but can be the empty string) and is thus never returned as "undef". No sensible value is returned if this function is called in a scalar context. $uri = uri_join($scheme, $auth, $path, $query, $frag) Puts together a URI string from its parts. Missing parts are signaled by passing "undef" for the corresponding argument. Minimal escaping is applied to parts that contain reserved chars that would confuse a parser. For instance, any occurrence of '?' or '#' in $path is always escaped, as it would otherwise be parsed back as a query or fragment. SEE ALSO
URI, URI::Escape COPYRIGHT
Copyright 2003, Gisle Aas This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.3 2012-02-11 URI::Split(3)
All times are GMT -4. The time now is 03:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy