Ubuntu :: Bashscript To Merge Pdf Files?

Jul 28, 2011

Is there any bash script to merge pdf files in a directory and sub-directory and rename it as the directory/sub-directory name?Like for example using GhostScript/PDFTK/PyPDF etc?I'm kinda new where it comes to bash scripting.I found this script on a blog that seems to do what I want, however, the bookmark functionality is not of importance to me (and requires jPDFBookmark - which I can't manage to install)

Code:
#!/bin/bash
#

[code]...

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Ffmpeg Audio Merge With Video Merge

Feb 22, 2011

I am using ffmpeg for merge wav files to a mov video. My doing is below

1. First extract audio (wav file) from video
2. Create wav file from mp3 track 1
3. Create wav file from mp3 track 2
4 Merge extract audio from video with track 1 and track2.
Now finally create a new video with original video's video stream and merged audio stream.

Process is working. However final video is 3-4 times greater than original one. I want that final video should be near about size of original video. As I understand, all three wav files (created from ) make video larger.

Example commands i using is as below:

View 6 Replies View Related

Ubuntu :: Merge Different .pdf Files Into One?

Jun 16, 2010

Iam aware of the way on how almost every file can be converted to .pdf within Ubuntu 10.04 using "Print to File" function. But is there a way to merge multiple files to create one .pdf? OR Is there a way to merge multiple .pdf files to create a single .pdf?

View 5 Replies View Related

Ubuntu :: How To Merge 50+ Pdf Files

Jul 6, 2011

So I found PDftk which seems promising Im also looking at the commands which are also very powerful..but I think its kinda of laborious to type all my 50+ pdf files in the command prompt I have the front end of pdftk I was wondering is there a program (I have Pdf sam and Pdf Shuffler) that will allow me to import unlim. number of files and then just jam it into one big PDF file?

View 4 Replies View Related

Ubuntu :: Merge Files Into A Single Pdf

Sep 18, 2010

I have several image files accumulated as a result of taking screenshots. I want to merge all of them into a single pdf file. How can I do that? I save webpages in .mht format using UnMHT addon in firefox. Is there any way to merge several mht files into a single pdf?

View 7 Replies View Related

Ubuntu Multimedia :: Merge Two Files With Ffmpeg?

Mar 31, 2010

how can i merge two files with ffmpeg?

one is : /home/pt/t/pa1.flv
the other is : /home/pt/t/pa2.flv
1 o merge with ffmpeg
ffmpeg -i /home/pt/t/pa1.flv -i /home/pt/t/pa2.flv -vcodec copy -acodec copy /home/pt/t/dd.flv
the problem is: the merged file ( /home/pt/t/dd.flv ) just contain one file--the first one
/home/pt/t/pa1.flv,there is no the second file--/home/pt/t/pa2.flv in the /home/pt/t/dd.flv

[Code].....

View 4 Replies View Related

Fedora :: Merge Several RTF Files Into One?

Apr 14, 2010

I have a bunch of RTF files that I need to merge into just one RTF.

I'm sure there is an easy way to do this, but I just can't find out how

View 1 Replies View Related

Fedora :: Merge Three Movie Iso Files Into One?

Nov 20, 2010

I have a movie split into 3 iso image files, say, movie-1.iso,movie-2.iso, and movie-3.iso I did the following:

[ewn]# cd /mnt
[mnt]# mkdir disk1 disk2 disk3
[mnt]# mount -t iso9660 -o ro,loop=/dev/loop0 /media/Hitachi_SATA_2TB/iso_files/Movies/movie-1.iso /mnt/disk1
[mnt]# mount -t iso9660 -o ro,loop=/dev/loop1 /media/Hitachi_SATA_2TB/iso_files/Movies/movie-2.iso /mnt/disk2

[Code]....

the files for disk2, disk3 are exactly the same except disk2 has 2 .vob files instead of 3. Can I make this work by changing the names of some of these files before merging them into one directory and then running the mkisofs command to create a new single iso image? If so, what names do I give so that the movie plays correctly? If not, just how do you do this?

View 8 Replies View Related

General :: Join/merge Many Mp3 Files?

Jul 23, 2011

Searching Google on how to join/merge many mp3 files, it suggests that I should just cat them together.That might "work", but clearly it is not the correct way to do it, as each header and set of IDv3 tags will also be concatenated.Does a Linux program exist that can be scripted to join/merge many mp3?Can mplayer/mencoder/ffmpeg do it?

View 2 Replies View Related

General :: Merge 2 Files With AWK By The Field Value

Jun 1, 2010

i have 2 file and want to merge them in the first one. the first file is like this:

2 word1
1 word2
6 word3
2 word4
......

the second:

word1 :file1 :file2
word2 :file6
word3 :file1 :file2 :file2 :..up to file6
word4 :file7 :file1
.......

So i want to ADD all those File fiels Wich have different FN for every record.

View 8 Replies View Related

CentOS 5 :: Necessary To Merge Xof8 Iso Files?

Jul 25, 2010

I am trying to install centos 5.5 via virtualbox. Is it necessary to merge these parts of the iso image before installing (say by virtualbox)?

View 2 Replies View Related

General :: Run A Bashscript No Matter What Directory Stand In?

Mar 16, 2010

How to run a bashscript no matter where u stand in the directory?

View 4 Replies View Related

Fedora :: Merge Audio And Video Files?

Jan 18, 2010

this is not the right place to ask this question, but I found no other.I have an AAC audio file and a video file. Is there any way to merge them? I tried Avidemux but it won't let me open my AAC file.

View 2 Replies View Related

OpenSUSE :: 11.3 With Gnome - Join / Merge Two Different Pdf Files

Nov 27, 2010

I have to merge two different pdf files and I don't know how to do this. ..(I use opensuse 11.3 with gnome).

View 9 Replies View Related

General :: Merge Columns From Multiple Files?

Dec 20, 2010

I want to merge columns (selectively) from several files and create a new file with the merge output. I saw some suggestions to use pr/paste to join the columns and then awk to pick-up the columns.

Code:
pr -m -t -s file1 file2 | gawk '{print $4,$5,$6,$1}'
But I have hundreds of files and I cannot manually pick up columns using awk as given in

[code]....

View 14 Replies View Related

General :: Merge Pdf Files Vertically AND Horizontally?

Apr 13, 2011

1. Is there an easy way to combine pdf files not only one "after" the other, but also one "next to" the other? For example, If I have one-page files called a1.pdf, a2.pdf, a3.pdf, a4.pdf, b1.pdf, b2.pdf, b3.pdf, b4.pdf, c1.pdf, c2.pdf, c3.pdf, c4.pdf, I want to combined them so that I can scroll down from a to c and scroll right from 1 to 4. That is, I want to merge them in "matrix form". If I zoom out the final file should look like:

a1 a2 a3 a4
b1 b2 b3 b4
c1 c2 c3 c4
(TWELVE pages in total)

Is this possible? I tried Google but found no information.

2. Also, is it possible to just put all of them together in a single page. If I zoom out the page should look like:

a1a2a3a4
b1b2b3b4
c1c2c3c4
(ONE page in total)

Note: I would like to do this for many one-page files

View 1 Replies View Related

General :: Combine / Merge Left And Right Video Files?

Jan 11, 2011

How can I join the two parts of a stereoscopic movie to get a side-by-side one?

I can expand the left file, that way all I'll need is to paste the second one on top of it, with something like this:

mencoder left-file.mkv -o side-by-side.avi -oac copy -ovc lavc -of avi -vf scale=1280:720,expand=-1280:0:0:0 -sws 3 -lavcopts vbitrate=16000

Any idea which tool should I use on a Linux system?

View 1 Replies View Related

General :: Merge Files By Creation / Modification Date?

Oct 4, 2010

I have a folder with hundreds of .txt files (logs of some java application) that I have to merge in to one single .txt file. This application produces a new log file everyday:

day1: logFriday10September2010.txt
day2: logSaturday11September2010.txt
...
day8: logFriday17September2010.txt
...
and so on...

I could merge the files easily with "cat" and ">>" however, the problem is that I have to do it by taking into account the date (creation or modification) of the file.

If I simple use the cat command the output file will receive for example, all Fridays in a row, then all Saturdays, etc. and in that way I'm not considering the date.

I've searched for the options of the find command, since the files after creation are not modified...I try to use this for example:

$ find . -newer <some old file>

but that lists me all files after that <old file> and not by correct date.

View 5 Replies View Related

Programming :: Bash Script - Merge Files Comparing Columns

Apr 13, 2011

I have 2 very long files which are quite similar:

file1.csv:

Code:

file2.csv:

Code:

I need this output:


Code:

explanation:

If the fields 3 (serie) and 4 (modello) are identical, the lines of the 2 files should be "added":

Code:

If the fields 3 (serie) and 4 (modello) are different, just print the line of both files:

Code:

Is there a way to do this without reading the (huge) files with a "while read line" loop?

View 14 Replies View Related

Programming :: Using Python To Merge Two Text Files Line For Line

Jul 6, 2010

I'm a bit new to Python programming and hoped that someone might be able to help with a problem I'm having. What I essentially want to do is to combine two text files line for line. I know how to do this in a bash script so to give you a better idea here's the code for that:

Code:

This is basically for adding on values to the end of a CSV file that uses ';' as the delimiter. So say file1 said:

And file2 said:

Then running this command would create merged_file1_and_file2 which would be:

The code I'm using at the moment is:

Code:

As I'm sure any experienced python programmer will see, this prints out the first line of the file "csvraw" and then all of the lines of "stamps" and then the remainder of "csvraw".

What I'd like to do is something like: (pseudo code, I know it's not python ;-))

Code:

Is this possible? I've tried googling and my Python Pocket Reference hasn't been much help. I've looked at pickling but that doesn't seem appropriate.

View 1 Replies View Related

Ubuntu :: Can't Merge Two Partitions?

Jun 4, 2011

i used to have 2 partitions: ubuntu and windows. i removed windows and currently am trying to merge it into ubuntu using GParted. however for some reason Gparted won't allow me to increase the size of my ubuntu partition. if you look at the picture that is attached, i need to merge /dev/sda2 and /dev/sda5 . does anybody know why i can't merge them or if there is other software i can you for it?

View 9 Replies View Related

Ubuntu :: How To Expand And Merge Partitions

Apr 14, 2010

I've got a 500gb hard drive.
-sda1 is 400gb (ubuntu 9.10/32bit/ext3)
-sda2 is 50gb (ubuntu 10.04/64bit/ext4)

I would like to expand my lucid partition now and eventually get rid of my 9.10 partition. I've got an 80GB virtualbox file sitting on sda1 that I need and want to expand sda2 now so I can first copy the VB file over, then expand sda2 completely. I just finished creating sda3 ext4, but cant figure out how to merge it with sda2 (well really sda6). Please see image. [URL]

View 1 Replies View Related

Ubuntu :: Can't Seem To Merge The 160 Gig's Of Free Space Into Partition?

Jan 11, 2010

I deleted Win7 from my dual boot but I cannot seem to merge the 160 gig's of free space into my ubuntu partition, ran the live gparted but it will not let me expand the ubuntu partition!

View 4 Replies View Related

Ubuntu Installation :: Merge Partition With Normal One?

Mar 14, 2010

Right now my HDD says 10,7GB from 38,3GB is free. However, only 17,7 is in use. The other 10 is on a Ubuntu partition. How can I get it back on the normal disk?

View 8 Replies View Related

Ubuntu :: Synaptic Error In Merge List?

Apr 8, 2010

I'm sure I'm not the first to have encountered a problem with synaptic when I tried to load it up to install a new bit of software (in this instance help screens for OO).However when I did I got the following error message E: Encountered a section with no Package: headerE: Problem withMergeListvar/lib/apt/lists/mirror.ox.ac.uk_sites_archive.ubuntu.com_ubuntu_di sts_jaunty_restricted_binary-i386_PackagesE: The package lists or status file could not be parsed or opened.E: _cache->open() failed, please report.

When I opened the file that had the apparent prolem < var/lib/apt/lists/mirror.ox.ac.uk_sites_archive.ubuntu.com_ubuntu_dists_jaunty_restricted_binary-i386_Packages > it transpired it actually contained the html page for the router ?? which seemed wierd to me.However I have recently I changed to a new ISPSo after a bit of a search, nothing explicity had my problem, and I was a bit stumped. Then I suddenly had a thought, after reading someone else how did something similar.... I then did the following....

Code:
sudo mv /var/lib/apt/lists/mirror.ox.ac.uk_sites_archive.ubuntu.com_ubuntu_dists_jaunty_restricted

[code]....

View 2 Replies View Related

Ubuntu Multimedia :: Transcode And Merge Sub With Mencoder

Apr 20, 2010

I'm trying to transcode and merge sub with mencoder in order to watch a video on my nokia cellphone.

I'm using this command :

Code:

without success. The transcoding works, but no subtitle is merged.

The transcoding log is here

I'm using Karmic.

View 4 Replies View Related

Ubuntu :: Merge NTFS Partitions Without Formatting?

Apr 23, 2010

My friend has a 1TB external hard drive with two NTFS partitions and he wants to combine them into one. Is it possible to merge them together?

View 6 Replies View Related

Ubuntu :: How To Merge Both (Maximize / Minimize) Taskbar

Oct 10, 2010

How to merge maximize and minimize thing on the same taskbar where the application places system things are? Its annoying to move cursor on top to maximize or minimize the window.

View 1 Replies View Related

Ubuntu :: 10.10 - Any Way To Merge Default Graphics Settings?

Feb 12, 2011

In ubuntu 10.04 and 10.10 there is now xorg file. Is there some way to merge the default graphic settings with my own xorg file? I'm currently needing to use and xorg file for my via graphics cards, which works fine. However, some functionality is missing. the icons have lost transparency and the unity menu doesn't allow click and drag scrolling anywhere (like a tablet). If I delete the xorg file and run the default, I get all the crisp clear cut of unity but of course I get performance problems everywhere else... i.e I cant plug a multiple screen in and video playback is crap.

View 7 Replies View Related

Ubuntu :: Merge Partition With Unallocated Space?

Apr 27, 2011

My PC has two OS's - Windows XP and Ubuntu - in a separate partition. There is some unallocated disk space between Windows and Ubuntu. I tried unsuccessfully to merge them together as one larger partition using Gparted in Ubuntu or another software in Windows. I thank you in advance for anyone who advises me hot to do it.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved