Ubuntu :: Split A Tar Archive Into Multiple Parts ?
Feb 11, 2010Is there any way to split a tar archive into multiple parts?
View 1 RepliesIs there any way to split a tar archive into multiple parts?
View 1 RepliesI used split -b 32m "file.bz2" "file.bz2.part-" to split a file and it created more than 50 parts. From googling, the way I found to reassemble the parts is to cat file.bz2.part-aa file.bz2.part-ab > file.bz2, while enumerating all the 50+ parts. Is there an easier way to reassemble the parts wherein I no longer need to list all those parts explicitly?
I'm using Fedora 12.
I've a file with a size of 6GB. I would like to compress this file and split them into smaller files. I was also thinking in use bzip2 to compress it, because if offers a good compression rate. How can I split this file into small ones to compress it?
View 5 Replies View RelatedToday encoders are getting smarter. They can compress Blu ray similar quality in 700MB. It seems header of video file contain info about frame rate, audio/video encoder etc. which can't be guessed. In MPEG audio , every part of file is independently playable. If a movie is binary split into 6 parts & I don't have the first part then it is unplayable.
Code:
example
ls
-rwxrwxrwx 1 root root 280M 2010-12-07 20:23 irn2-cd1.mkv
-rwxrwxrwx 1 root root 50M 2011-05-26 13:09 last-50M-cd2
-rwxrwxrwx 1 root root 50M 2011-05-26 13:44 first-50M-cd1
file *
first-50M-cd1: Matroska data
last-50M-cd2: data
irn2-cd1.mkv: Matroska data
I recently downloaded a program to find out it was in pieces. What I originally conceived as being a small problem has turned into a major time wasting dilemma.
I've tried many different things to get it to properly extract, viewing threads on these forums even, but to no avail.
The files were named:
file.part01.rar
file.part02.rar etc.
I though this was the problem so I renamed all 84 files (except the first one), removing the .rar extension. No cigar.
My final attempt of several was using 7zip:
Code:
7z x myArchive.rar -o/home/[username]/Desktop
I was in the correct folder as far as I could tell.
I have included a screenshot of the files in order to stop any confusion about my description.
I have a huge rar compressed split file archive at my webspace but not enough space to decompress the file.
Is it possible to decompress the split file archive and deleting already decompressed parts on the fly? Currently, I'm using winrar 3.70 beta 2 but it seems that it hasn't such an option.
Could someone help me find a way to rename a file to a different name containing parts of its old name?
For example:
Original file name: filename1.abc.xyz.some.other.stuff
Final file name: filename1.abc.xyz
The length of the file name is not constant. the abc.xyz is not constant but that format is (three numbers.three numbers) the .some.other.stuff is not constant and its what i want to get rid of
I have a couple of gigs of png files, each with 5-7 photos on each file. Currently I am making 5-7 duplicates of the file, then opening each one in gimp, and cropping and saving each one. kind of time consuming. Does anyone know of a program that will let me split an image into multiple slices?
View 5 Replies View RelatedI have a log file on ubuntu 10.04 that has 500 lines of log data in it. What command could I use in a terminal to split the single 500-line file into generate ten files each with 50-lines of log files each?
View 2 Replies View RelatedI have a file with 5 columns. Column 4 contains numbers.Is it possible to split the file into multiple files using a condition for the contents of column 4 i.e if column 4 contains a value between 0-10 then print the lines to a new file called less_than_10.txt
View 1 Replies View RelatedI want to do a video streaming to a remote PC across the internet. The video bitrate is around 600 kbps. But my internet connection supports only a maximum upload bandwidth of 400 kbps.So I thought I will get one more connection and use the combined upload b/w of 800 kbps to stream the video. I hope there should be a way to split the stream across two interface and merge them together at the remote endpoint. All this has to be done at real time.
View 1 Replies View RelatedOur system uses email to send fairly time-sensitive status messages between programs running on various servers on a WAN. Each email message is sent to two addresses (different servers). The problem occurs when one of the destination mail servers is off the network. I think because it's trying to send one email to two addresses, sendmail attempts delivery to the first address, then to the second address (i.e., serially). When this happens, it hangs for two connect timeout (CONNECT_TO) periods trying to connect to the offline destination, then after the timeout, it then delivers to the other destination. I'm trying to figure out how to work around that connection delay so it doesn't delay delivery to the other destination.
I'm working with the network guys to enable the right ICMP messages that signal when a network is unavailable, but I would also like to try having sendmail split the emails into two envelopes, then use parallel, independent connections for delivery.
After days of reading through the docs (O'Rielly Sendmail book + sendmail docs) I think one way to do this is to use multiple mail queues, but I can't decipher exactly how to do that from the docs.
There might be other, more elegant ways to do the same thing, but again, trying to decipher the docs has my head swimming. (This is my first experience with sendmail.)
I have a large file 'NS0923.csv' with data like the following. There are two records in this multi-record sample.
Code:
E60898,4578910,03/06/09,BEN BOYD RD,61,82,,,127,3,,52000.3046.001,3155,4.00,,PLT,1356,1.00,05/06/09,Y,Y,0551
,,,,,,,,,,,,4057,1.00,CLEAN CAR SHARE SIGN,LAB,0551,1.00,,,,
[code]....
2. I still have to create a file 'transaction.csv' that should retrieve data from $13 - $15 with the identifying column $1. Required output:
Code:
E60898,4057,1.00,CLEAN CAR SHARE SIGN
3. And finally another file 'quantity.csv'. Retrieving data from $16 - $18 with identifier $1. Required output:
Code:
E60898,PLT,1356,1.00
E60898,LAB,0551,1.00
E60898,LAB,3065,1.00
[code]....
I have two non-system drives with archive files. Each drive is formatted with one primary partition only, occupying all the drive space. In each drive there will be a number of directories with files in them, like this:
Drive 1:
/directory1/directoryXXX/files
/directory2/directoryXXX/files
/directory3/directoryXXX/files
Drive 2:
/directory4/directoryXXX/files
[Code]...
I'd like to ask about archive mounter feature, can I mount zip file with read write mode? can gvfsd-archive do that?, or I must use fuse-zip to mount it? If I must use fuse-zip, how I wrap it so I can use it via nautilus or via gvfs-fuse-daemon
View 4 Replies View RelatedI have a single file that contain multi-text something likes this:
Quote:
No. Time Source Destination Protocol Info
185 27712.068199 192.168.18.23 192.168.18.191 SMTP S: 250 2.1.5 Ok
No. Time Source Destination Protocol Info
186 27715.068293 192.168.0.50 192.168.5.2 TCP suncacao-jmxmp > 44693 [ACK] Seq=1 Ack=1 Win=64807 Len=1380
[Code].....
Im in a unique situation where a box has a 400G file, on FreeBSD, without thesplit' utility available
View 11 Replies View RelatedI am new to the world of linux and when attempting to verify a tar archive I am displayed the following error. When running the command tar cvfW archivename.tar filename directoryname does not yield any errors.
View 1 Replies View RelatedI'm new to Ubuntu, and everytime i've tried to download a program like iTunes, the "Archive Manager" comes up and says "An Error Has Occured While Loading the Archive". how to fix this or download programs ?
View 7 Replies View RelatedI have a very dumb questions regarding run-parts utility. I've created few shell scripts, chmod them to be executable, placed them into one particular directory and tried to run them using run-parts utility like this
run-parts dir_name However it doesn't seem to be working or I might just be missing out something. I have even tried different options like --test or --list - NONE of them produced any output. If I run each of the script manually they all work just fine. Is this is a known bug or somethng ?? or am I really missing out something...how are the /etc/crontab entries then being executed when the run-parts doesn't seem to be working on such a simple case ? ps: I noticed one interesting thing though...when I run run-parts like this: run-parts --list --regex 'some_regexp_patern' dir_name -> the output actually produces a list of the files whose file names match the given regexp pattern .
How do I cut jpg images in two parts?
If I want to e.g. slice an jpg vertically at so and so many pixels from the bottom.
Suppose that I have this text :
1 abc
2 def
3 ghi
4 klm
Now I want to copy(yank) only the parts:
ab from line one and hi from line three at the same time
So how can this be done with vim? I know how to copy one line and one part of a line. What I want to do is to copy two parts from 2 different lines at the same time and paste them as they are some where else in the file.
I am completely new to Ubuntu so please make your answers really simple ! I want to set up a mail server for a home network and have been suggested I use the Ubuntu solutions. I am fairly proficient with Windows programs and even construct databases but I am a complete novice when it comes to command line instructions. Yes, I know I have been spoon fed!
I have been told that it is possible to install Server programs from the Desktop version and that they provide a GUI in most cases. Is that so? I have the desktop version running and up to date but I am unsure what to do next. Starting the Server ISO CD from Desktop seemed logical but when I did I was not sure if it was correct and backed out. I have also read a thread on this forum that suggests the use of Zimbra as a Mail Server, it sounded like my kind of solution so I think I would like to try that.
One last factor. I have an existing P2P network (2 Vista, 1 Mac Book and this Ub' desktop/server) running already which uses the Router for DNS. I suspect I am going to have to do things in a certain order if I am not going to go backwards and ruin the families email and surfing!
parts of my screen keep freezing and locking in place so that nothing new can be seen in that section, it happens when i click a menu or close a window, the part that freezes only goes away after i log out and then back in
View 2 Replies View RelatedI'm using Epson TX110 printer at the moment, it contains both scanner and printer.
I've installed Epson TX109 driver on Ubuntu, and it prints fine.
The problem is, how do I get the scanner to work? In the previous Windows, there's a program that allows you to scan and edit files, can I do it here too?
Ubuntu 10.04.1 LTS: It appears that run-parts does not run scripts with a period in the name. I had a script upg.sh which run-parts did not recognise; when I changed it to upg it did. This is surely a bug!
View 3 Replies View RelatedSo I have Ubuntu 10.10 64 bit, and I'm having strange problems with parts of windows staying up on screen after I close them. Check the attached files to see what I mean. I have Visual Effects turned off, and I've tried removing compiz altogether, but I still see this happen every once in a while.
View 5 Replies View RelatedWithout a long tale; suffice it to say I had to do a clean install when I upgraded to 10.10 version. I have messed up evolution e-mail and my document viewer settings. I have what I need as far as by ISP settings but the Evolution folders; well that is messed up. What I am looking for if it is out there would be links {read directions to} tutorials for Evolution and Gnome. Everything comes into the unmatched folder on evolution so I think I need to find where to read up on 'Folder rules and permissions'. The document view just is not working so I know I need to read up on that; I think it is part of Gnome but I'm not positive.
View 3 Replies View Relatedupgraded from Lucid to Maverick, panels lose pieces randomly then come back just as randomly. sometimes i have to right click on them other times they just come back after a few minutes on their own. enable desktop effects even though my driver is working fine. and if so is this a driver issue or an xorg issue or a kernel issue and how can i trouble shoot to find out and fix?
View 9 Replies View Relatedi've got the following packages installed on a fresh fc14 installation :
cronie-1.4.5-2.fc14.i686
cronie-anacron-1.4.5-2.fc14.i686
crontabs-1.11-1.20101109git.fc14.noarch
[code]....